Mercurial > hg > octave-lojdl
annotate liboctave/ChangeLog @ 10027:0f312e11957e
use mkdir module from gnulib
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 26 Dec 2009 00:20:12 -0500 |
parents | acd5e9df38f8 |
children | 3b2f81d5a6dc |
rev | line source |
---|---|
10027
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
1 2009-12-25 John W. Eaton <jwe@octave.org> |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
2 |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
3 * file-ops.cc (file_ops::mkdir): Assume we have an mkdir |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
4 function that takes two arguments. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
5 * mkdir.c: Delete. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
6 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove mkdir.c from the list. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
7 |
10025
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
8 2009-12-25 John W. Eaton <jwe@octave.org> |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
9 |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
10 * oct-md5.cc (oct_md5_result_to_str): New function. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
11 (oct_md5, oct_md5_file): Simplify using gnulib md5 functions and |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
12 oct_md5_result_to_str. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
13 |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
14 * Makefile.am (INCS): Remove md5.h from the list. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
15 (LIBOCTAVE_C_SOURCES): Remove md5.c from the list. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
16 * md5.c, md5.h: Delete. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
17 |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
18 2009-12-19 Rik <octave@nomad.inbox5.com> |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
19 |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
20 * Makefile.am: Eliminate TOPDIR variable in favor of built-in automake |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
21 variables of top_builddir and top_srcdir. |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
22 |
9994
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
23 2009-12-17 John W. Eaton <jwe@octave.org> |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
24 |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
25 * glob-match.h, glob-match.cc (glob_match::glob_internal): |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
26 Rename from glob_match::glob and make private. |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
27 * glob-match.h (glob_match::glob): Forward to glob_internal. |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
28 |
9987
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
29 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
30 |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
31 * Array.cc (Array<T>::index (const idx_vector&)): Fix determining of |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
32 result dimensions. |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
33 |
9986
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
34 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
35 |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
36 * Range.cc (Range::elem, Range::checkelem, Range::index): |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
37 New methods. |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
38 * Range.h: Declare them. |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
39 |
9985
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
40 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
41 |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
42 * idx-vector.h (idx_vector::loop, idx_vector::bloop): Fix behavior for |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
43 masks. |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
44 |
9979
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
45 2009-12-13 Rik <octave@nomad.inbox5.com> |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
46 |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
47 * Makefile.am: Use DISTCLEANFILES rather than distclean-local rule. |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
48 Use PERL variable defined by autoconf rather than direct call. Use |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
49 simple_move_if_change rule to reduce useless compiles if OPTS_INC have not |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
50 changed. |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
51 |
9975
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
52 2009-12-12 Jaroslav Hajek <highegg@gmail.com> |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
53 |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
54 * oct-shlib.h: Remove stray declarations. |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
55 |
9971
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
56 2009-12-11 John W. Eaton <jwe@octave.org> |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
57 |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
58 * oct-shlib.cc (octave_dlopen_shlib::octave_dlopen_shlib): |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
59 Print filename along with message from dlerror. |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
60 Reverse sense of test. |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
61 |
9958
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
62 2009-12-09 Jaroslav Hajek <highegg@gmail.com> |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
63 |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
64 * oct-shlib.h (octave_shlib): Rewrite. |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
65 * oct-shlib.cc (octave_shlib): Rewrite. |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
66 |
9947
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
67 2009-12-09 John W. Eaton <jwe@octave.org> |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
68 |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
69 * oct-time.cc (octave_base_tm::strftime): Call nstrftime instead |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
70 of my_strftime. |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
71 |
9946 | 72 2009-12-09 John W. Eaton <jwe@octave.org> |
73 | |
74 * oct-time.cc: Include strftime.h. Don't provide decl for strftime. | |
75 (octave_base_tm::strftime): Call my_strftime instead of ::strftime. | |
76 * Makefile.am (AM_CPPFLAGS): Add -I$(top_srcdir)/libgnu to the list. | |
77 (LINK_DEPS): Add ../libgnu/libgnu.la to the list. | |
78 (LIBOCTAVE_C_SOURCES): Remove strftime.c from the list. | |
79 * strftime.c: Delete. | |
80 | |
9941
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
81 2009-12-08 Michael Goffioul <michael.goffioul@gmail.com> |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
82 |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
83 * Array-d.cc (Array<double>::is_sorted): Declare as OCTAVE_API. |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
84 * Array-f.cc (Array<float>::is_sorted): Ditto. |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
85 * lo-sysdep.cc: Undef min and max after including windows.h |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
86 |
9922
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
87 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
88 |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
89 * Array-d.cc (Array<double>::is_sorted): Optimized specialization. |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
90 * Array-f.cc (Array<float>::is_sorted): Ditto. |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
91 |
9921
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
92 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
93 |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
94 * oct-sort.cc (lookup_binary): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
95 (octave_sort<T>::lookup (const T*, octave_idx_type, const T&, comp)): Move |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
96 code here. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
97 (octave_sort<T>::lookup (const T*, octave_idx_type, const T*, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
98 octave_idx_type, octave_idx_type *, comp)): Remove offset parameter. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
99 Use a simple sequence of lookups. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
100 (octave_sort<T>::lookup (const T*, octave_idx_type, const T*, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
101 octave_idx_type, octave_idx_type *)): Update. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
102 (octave_sort<T>::lookupm, octave_sort<T>::lookupb): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
103 (octave_sort<T>::lookup_sorted): New overloaded method. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
104 |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
105 * Array.cc (Array<T>::lookup (const Array<T>&, sortmode)): Remove |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
106 linf & rinf params. Rewrite using is_sorted to check for sortedness, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
107 call octave_sort::lookup_sorted to do the sorted merge. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
108 (Array<T>::lookupm, Array<T>::lookupb): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
109 (NO_INSTANTIATE_ARRAY_SORT): Update. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
110 |
9920
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
111 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
112 |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
113 * Array.cc (sortrows_comparator): Rename to safe_comparator. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
114 (Array<T>::is_sorted): Use it here. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
115 * Array-d.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
116 * Array-f.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
117 * Array-C.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
118 * Array-fC.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
119 |
9906 | 120 2009-12-03 John W. Eaton <jwe@octave.org> |
121 | |
122 * Makefile.am (BUILT_NODISTFILES): New variable. | |
123 | |
9894
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
124 2009-12-01 Jaroslav Hajek <highegg@gmail.com> |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
125 |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
126 * idx-vector.cc (idx_vector::idx_range_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
127 idx_vector::idx_scalar_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
128 idx_vector::idx_vector_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
129 idx_vector::idx_mask_rep::unconvert): New methods. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
130 (idx_vector::unconvert): Use them here. Add mask output. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
131 * idx-vector.h: Update decls. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
132 |
9886
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
133 2009-11-28 Jaroslav Hajek <highegg@gmail.com> |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
134 |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
135 * dim-vector.h (dim_vector::zero_by_zero): New method. |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
136 * idx-vector.h (idx_vector::idx_mask_rep::is_colon_equiv): Fix. |
9967 | 137 * Array.cc (Array<T>::assign): Minor tweaks. Optimize |
9886
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
138 A = []; A(1:m,1:n,1:k) = X for all cases. Use a shallow copy |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
139 for all colon-equivalent indices. |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
140 |
9879
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
141 2009-11-27 Jaroslav Hajek <highegg@gmail.com> |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
142 |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
143 * idx-vector.h (idx_vector::index_class): New member: class_mask. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
144 (idx_vector::idx_mask_rep): New class. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
145 (idx_vector::idx_vector (bool)): Construct idx_mask_rep. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
146 (idx_vector::unmask): New method decl. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
147 * idx-vector.cc (idx_vector::idx_vector (const boolNDArray&)): |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
148 Construct idx_mask_rep conditionally. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
149 (idx_vector::unmask): New method. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
150 (idx_vector::unconvert): Make non-const. unmask when called on a mask |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
151 vector. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
152 (idx_vector::is_cont_range): Check also for idx_mask_rep. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
153 |
9878
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
154 2009-11-27 Jaroslav Hajek <highegg@gmail.com> |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
155 |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
156 * Array.cc (Array<T>::nnz): New method. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
157 * Array.h: Declare it. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
158 * MArray.h (MArray<T>::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
159 * MArrayN.h (MArrayN<T>::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
160 * boolNDArray.h (boolNDArray::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
161 |
9862
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
162 2009-11-25 Jaroslav Hajek <highegg@gmail.com> |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
163 |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
164 * dbleCHOL.cc (CHOL::init): Output LAPACK's info. Resize matrix if |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
165 nonzero. Use smarter copying. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
166 * floatCHOL.cc (FloatCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
167 * CmplxCHOL.cc (ComplexCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
168 * fCmplxCHOL.cc (FloatComplexCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
169 |
9858
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
170 2009-11-24 Jaroslav Hajek <highegg@gmail.com> |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
171 |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
172 * MArrayN.cc (MArrayN::idx_add): New methods. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
173 * MArrayN.h: Declare them. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
174 * MArray.cc, MArray.h: Remove from here. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
175 |
9840
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
176 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
177 |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
178 * dim-vector.h (dim_vector::safe_numel): New method. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
179 * Array.h (Array<T>::Array (const dim_vector&), |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
180 Array<T>::Array (const dim_vector&, const T&), |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
181 Array<T>::Array (T *, const dim_vector&)): Use it here. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
182 * Array.cc (Array<T>::clear (const dim_vector&)): Also here. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
183 (Array<T>::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
184 * Array2.h (Array2::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
185 * Array3.h (Array3::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
186 |
9839
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
187 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
188 |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
189 * Array.cc (Array::clear (const dim_vector&)): Use get_size. |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
190 |
9835
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
191 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
192 |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
193 * lo-mappers.cc (do_erfinv): New static function. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
194 (erfinv (double), erfinv (float)): New mappers. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
195 * lo-mappers.h: Declare them. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
196 |
9831
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
197 2009-11-18 David Grundberg <davidg@cs.umu.se> |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
198 |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
199 * str-vec.cc (string_vector::list_in_columns): Avoid crash on |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
200 empty arguments from list_in_columns. |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
201 |
9829
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
202 2009-11-18 Jaroslav Hajek <highegg@gmail.com> |
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
203 |
9967 | 204 * Sparse.h (read_sparse_matrix): Fix order of tests and reads. |
9829
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
205 |
9827
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
206 2009-11-18 Jaroslav Hajek <highegg@gmail.com> |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
207 |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
208 * mx-inlines.cc (mx_inline_any_negative, mx_inline_pow): New loops. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
209 (DEFMXMAPPER2X): New macro. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
210 * bsxfun-decl.h (BSXFUN_OP2_DECL): New macro. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
211 * bsxfun-defs.cc (BSXFUN_OP2_DEF, BSXFUN_OP2_DEF_MXLOOP): New macros. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
212 (do_bsxfun_op): Use OCTAVE_QUIT. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
213 * dNDArray.cc (NDArray::all_integers (void)): New method. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
214 (NDArray::any_element_is_negative): Use mx_inline_any_negative. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
215 (bsxfun_pow (const NDArray&, const NDArray&), |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
216 bsxfun_pow (const ComplexNDArray&, const NDArray&)): New functions. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
217 * dNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
218 * fNDArray.cc (FloatNDArray::all_integers (void)): New method. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
219 (FloatNDArray::any_element_is_negative): Use mx_inline_any_negative. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
220 (bsxfun_pow (const FloatNDArray&, const FloatNDArray&), |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
221 bsxfun_pow (const FloatComplexNDArray&, const FloatNDArray&)): New functions. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
222 * fNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
223 * CNDArray.cc (bsxfun_pow (const ComplexNDArray&, const |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
224 ComplexNDArray&)): New function. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
225 * CNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
226 * fCNDArray.cc (bsxfun_pow (const FloatComplexNDArray&, const |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
227 FloatComplexNDArray&)): New function. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
228 * fCNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
229 |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
230 2009-11-13 Jaroslav Hajek <highegg@gmail.com> |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
231 |
9967 | 232 * CNDArray.cc (ComplexNDArray::all_elements_are_real): |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
233 Use mx_inline_all_real. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
234 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Ditto. |
9967 | 235 * fCNDArray.cc (FloatComplexNDArray::all_elements_are_real): |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
236 Use mx_inline_all_real. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
237 * fCMatrix.cc (FloatComplexMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
238 * CDiagMatrix.cc (ComplexDiagMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
239 * fCDiagMatrix.cc (FloatComplexDiagMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
240 * CSparse.cc (SparseComplexMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
241 |
9821 | 242 2009-11-17 Jaroslav Hajek <highegg@gmail.com> |
243 | |
244 * base-aepbal.h (permuting_vector): Fix lower part swapping. | |
245 | |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
246 2009-11-13 John W. Eaton <jwe@octave.org> |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
247 |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
248 * Makefile.am (liboctave_la_CPPFLAGS): Add @OCTAVE_DLL_DEFS@ to |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
249 the list of flags. |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
250 |
9814
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
251 2009-11-13 Jaroslav Hajek <highegg@gmail.com> |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
252 |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
253 * mx-inlines.cc (mx_inline_any_nan): Rewrite. |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
254 (mx_inline_all_real): New reduction loop. |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
255 |
9812
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
256 2009-11-12 Jaroslav Hajek <highegg@gmail.com> |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
257 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
258 * lo-mappers.cc ( rc_acos, rc_acos, rc_acosh, rc_acosh, rc_asin, |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
259 rc_asin, rc_atanh, rc_atanh, rc_log, rc_log, rc_xlog2, rc_log2, |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
260 rc_log10, rc_log10, rc_sqrt, rc_sqrt): New mappers. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
261 * lo-mappers.h: Declare them. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
262 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
263 * lo-specfun.cc (rc_lgamma, rc_lgamma, rc_log1p, rc_log1p): New |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
264 mappers. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
265 * lo-specfun.h: Declare them. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
266 * Array.h (Array<T>::map): Unroll loop to reduce OCTAVE_QUIT checking. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
267 Provide function-reference overloads. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
268 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
269 * MArray.h (MArray<T>::map): Provide function-reference overloads. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
270 * Array2.h (Array2<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
271 * MArray2.h (MArray2<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
272 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
273 * Sparse.h (Sparse<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
274 * MSparse.h (MSparse<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
275 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
276 * dNDArray.h (NDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
277 * dNDArray.cc (NDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
278 * fNDArray.h (FloatNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
279 * fNDArray.cc (FloatNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
280 * CNDArray.h (ComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
281 * CNDArray.cc (ComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
282 * fCNDArray.h (FloatComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
283 * fCNDArray.cc (FloatComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
284 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
285 * dMatrix.h (Matrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
286 * dMatrix.cc (Matrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
287 * fMatrix.h (FloatMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
288 * fMatrix.cc (FloatMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
289 * CMatrix.h (ComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
290 * CMatrix.cc (ComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
291 * fCMatrix.h (FloatComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
292 * fCMatrix.cc (FloatComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
293 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
294 * dRowVector.h (RowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
295 * dRowVector.cc (RowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
296 * fRowVector.h (FloatRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
297 * fRowVector.cc (FloatRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
298 * CRowVector.h (ComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
299 * CRowVector.cc (ComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
300 * fCRowVector.h (FloatComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
301 * fCRowVector.cc (FloatComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
302 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
303 * dColVector.h (ColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
304 * dColVector.cc (ColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
305 * fColVector.h (FloatColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
306 * fColVector.cc (FloatColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
307 * CColVector.h (ComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
308 * CColVector.cc (ComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
309 * fCColVector.h (FloatComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
310 * fCColVector.cc (FloatComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
311 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
312 * dSparse.h (SparseMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
313 * dSparse.cc (SparseMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
314 * CSparse.h (SparseComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
315 * CSparse.cc (SparseComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
316 |
9805
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
317 2009-11-11 John W. Eaton <jwe@octave.org> |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
318 |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
319 * lo-ieee.cc (octave_ieee_init): Improve comment about systems |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
320 without IEEE floating point format. |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
321 |
9800
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
322 2009-11-11 Jaroslav Hajek <highegg@gmail.com> |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
323 |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
324 * mx-inlines.cc (mx_inline_map): New template loop. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
325 (DEFMXMAPPER): New macro. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
326 (DEFMXMAPPER2): Rename from DEFMXMAPPER. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
327 (do_mx_unary_map): New applier. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
328 (mx_inline_real, mx_inline_complex): New loops. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
329 * dNDArray.cc (NDArray::abs, NDArray::isnan, NDArray::isinf, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
330 NDArray::isfinite, real, imag): Use new constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
331 * fNDArray.cc (FloatNDArray::abs, FloatNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
332 FloatNDArray::isinf, FloatNDArray::isfinite, real, imag): Ditto. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
333 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
334 ComplexNDArray::isinf, ComplexNDArray::isfinite, conj): Use new |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
335 constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
336 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
337 FloatComplexNDArray::isinf, FloatComplexNDArray::isfinite, conj): Use |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
338 new constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
339 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
340 2009-11-10 John W. Eaton <jwe@octave.org> |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
341 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
342 * mx-ops, sparse-mx-ops, vx-ops b/liboctave/vx-ops: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
343 Add comment about updating. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
344 * Makefile.am, config-ops.sh: New files. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
345 * Makefile.in: Delete. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
346 |
9789
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
347 2009-11-09 Jaroslav Hajek <highegg@gmail.com> |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
348 |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
349 * dSparse.h (Sparse::max): Use Array<octave_idx_type>. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
350 * dSparse.cc: Update. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
351 * CSparse.h (Sparse::max): Use Array<octave_idx_type>. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
352 * CSparse.cc: Update. |
9790
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
353 * dNDArray.h (NDArray::max, NDArray::min, NDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
354 NDArray::cummin, NDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
355 * fNDArray.h (FloatNDArray::max, FloatNDArray::min, FloatNDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
356 FloatNDArray::cummin, FloatNDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
357 * CNDArray.h (ComplexNDArray::max, ComplexNDArray::min, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
358 ComplexNDArray::cummax, ComplexNDArray::cummin, ComplexNDArray::diff): |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
359 Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
360 * fCNDArray.h (FloatComplexNDArray::max, FloatComplexNDArray::min, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
361 FloatComplexNDArray::cummax, FloatComplexNDArray::cummin, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
362 FloatComplexNDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
363 * intNDArray.h (intNDArray::max, intNDArray::min, intNDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
364 intNDArray::cummin, intNDArray::diff): Use dim = -1 as default. |
9789
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
365 |
9780
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
366 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
367 |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
368 * oct-mem.h: Rename octave_ucopy -> copy_or_memcpy, |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
369 octave_fill -> fill_or_memset, octave_new -> no_ctor_new, |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
370 octave_delete -> no_ctor_delete. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
371 * Array.h: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
372 * Array.cc: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
373 * idx-vector.h: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
374 * idx-vector.cc: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
375 |
9773
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
376 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
377 |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
378 * oct-mem.h: New source. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
379 * Makefile.in: Include it. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
380 * Array.h (Array<T>::ArrayRep::ArrayRep (...)): Use octave_new, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
381 octave_ucopy and octave_fill. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
382 (Array<T>::ArrayRep::~ArrayRep): Use octave_delete. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
383 (Array<T>::coerce): Use octave_new. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
384 * Array.cc (Array<T>::fill, rec_resize_helper::do_resize_fill, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
385 Array<T>::resize_fill, rec_permute_helper::do_permute, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
386 Array<T>::delete_elements): Use octave_ucopy and octave_fill. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
387 * idx-vector.h (index_vector::index, index_vector::assign): Use |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
388 octave_ucopy. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
389 * idx-vector.cc (index_vector::copy_data): Ditto. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
390 |
9772
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
391 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
392 |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
393 * idx-vector.cc (idx_vector::maybe_reduce): Implement (i:k:end, :) |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
394 and (i:k:end, p:q) reductions. |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
395 |
9766
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
396 2009-11-02 Jaroslav Hajek <highegg@gmail.com> |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
397 |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
398 * mx-inlines.cc (twosum_accum): Remove FLOAT_TRUNCATE. |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
399 |
9760
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
400 2009-10-28 John W. Eaton <jwe@octave.org> |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
401 |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
402 * PermMatrix.cc: Don't include error.h. |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
403 |
9759
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
404 2009-10-27 David Bateman <dbateman@free.fr> |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
405 |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
406 * SparsedbleLU.cc (SparseLU::SparseLU (const SparseMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
407 const Matrix&, bool), SparseLU::SparseLU (const SparseMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
408 const ColumnVector&, const Matrix&, boo, bool, double, bool, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
409 bool)): Fix test for valid pivot tolerance. |
9967 | 410 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU |
411 (const SparseComplexMatrix&, const Matrix&, bool), | |
9759
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
412 SparseComplexLU::SparseComplexLU (const SparseComplexMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
413 const ColumnVector&, const Matrix&, boo, bool, double, bool, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
414 bool)): Ditto. |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
415 |
9757
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
416 2009-10-23 Jaroslav Hajek <highegg@gmail.com> |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
417 |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
418 * idx-vector.cc (idx_vector::idx_range_rep::idx_range_rep |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
419 (octave_idx_type, octave_idx_type, octave_idx_type)): |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
420 Improve checking. |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
421 |
9748
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
422 2009-10-21 John W. Eaton <jwe@octave.org> |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
423 |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
424 * oct-time.h (octave_time::octave_time (time_t t, int us)): |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
425 New constructor. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
426 (operator + (const octave_time&, const octave_time&)): New function. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
427 |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
428 * file-stat.h (base_file_stat::time_resolution): New function. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
429 |
9743
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
430 2009-10-20 Jaroslav Hajek <highegg@gmail.com> |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
431 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
432 * bsxfun-decl.h, bsxfun-defs.cc: New sources. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
433 * Makefile.in: Add them. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
434 * dim-vector.h (dim_vector::compute_index, |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
435 dim_vector::increment_index): Fix. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
436 * mx-inlines.cc (DEFMXMAPPER, DEFMXLOCALMAPPER): New macros. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
437 (mx_inline_xmin, mx_inline_xmax): New loops. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
438 (mx_inline_fun): Remove. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
439 * oct-inttypes.h (xmin (const octave_int<T>&, const octave_int<T>&), |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
440 xmax (const octave_int<T>&, const octave_int<T>&)): |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
441 New inline functions. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
442 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
443 * CNDArray.cc: Define bsxfun operations. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
444 * boolNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
445 * dNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
446 * fCNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
447 * fNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
448 * int16NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
449 * int32NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
450 * int64NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
451 * int8NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
452 * uint16NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
453 * uint32NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
454 * uint64NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
455 * uint8NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
456 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
457 * CNDArray.h: Declare bsxfun operations. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
458 * boolNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
459 * dNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
460 * fCNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
461 * fNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
462 * int16NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
463 * int32NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
464 * int64NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
465 * int8NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
466 * uint16NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
467 * uint32NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
468 * uint64NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
469 * uint8NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
470 |
9739
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
471 2009-10-19 Jaroslav Hajek <highegg@gmail.com> |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
472 |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
473 * dim-vector.h (dim_vector::compute_index, |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
474 dim_vector::increment_index, dim_vector::cumulative, |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
475 dim_vector::cum_compute_index): New methods. |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
476 |
9738
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
477 2009-10-18 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
478 |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
479 * Makefile.in: Remove ArrayN.cc. |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
480 |
9737
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
481 2009-10-18 Jaroslav Hajek <highegg@gmail.com> |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
482 |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
483 * Makefile.in: Include base-qr.h and base-qr.cc. |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
484 |
9734
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
485 2009-10-17 Jaroslav Hajek <highegg@gmail.com> |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
486 |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
487 * dbleQR.cc: Initialize QR::raw, QR::economy and QR::std. |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
488 |
9732
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
489 2009-10-16 Jaroslav Hajek <highegg@gmail.com> |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
490 |
9967 | 491 * ArrayN.h: Remove everything, just #define ArrayN Array. |
9732
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
492 Warn if under gcc. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
493 * ArrayN.cc: Remove. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
494 * Array.cc (operator >>): New operator. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
495 * Array.h: Declare it. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
496 |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
497 * Array-C.cc: Remove traces of ArrayN. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
498 * Array-b.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
499 * Array-ch.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
500 * Array-d.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
501 * Array-f.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
502 * Array-fC.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
503 * CNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
504 * CNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
505 * MArrayN.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
506 * boolNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
507 * boolNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
508 * chNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
509 * dNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
510 * dNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
511 * fCNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
512 * fCNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
513 * fNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
514 * fNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
515 * intNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
516 * intNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
517 * lo-specfun.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
518 * lo-specfun.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
519 |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
520 * mx-op-defs.h (DMS_BIN_OP, SDM_BIN_OP): Rewrite. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
521 (DMS_BIN_OPS, SDM_BIN_OPS): Define dm*s and dm/s rather than dm+s and |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
522 dm-s which are rather useless. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
523 * mx-ops: Update. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
524 |
9731 | 525 2009-10-16 Jaroslav Hajek <highegg@gmail.com> |
526 | |
527 * Array.cc (Array<T>::column, Array<T>::page, Array<T>::linearize, | |
528 Array<T>::linear_slice): New methods. | |
529 * Array.h: Declare them | |
530 * ArrayN.h: Forward them. | |
531 | |
9725 | 532 2009-10-14 Jaroslav Hajek <highegg@gmail.com> |
533 | |
534 * oct-sort.cc (octave_sort<T>::nth_element): New overloaded method. | |
535 * oct-sort.h: Declare it. | |
536 * Array.cc (Array<T>::nth_element): New method. | |
537 * Array.h: Declare it. | |
538 (Array<T>::sort): Use int for dim argument. | |
539 * ArrayN.h (ArrayN<T>::nth_element): Wrap. | |
540 (ArrayN<T>::sort): Use int for dim argument. | |
541 | |
9721
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
542 2009-10-13 Jaroslav Hajek <highegg@gmail.com> |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
543 |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
544 * lo-traits.h (equal_types, is_instance, subst_template_param): New |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
545 traits classes. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
546 * mx-inlines.cc (op_dble_sum, twosum_accum): New helper funcs. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
547 (mx_inline_dsum, mx_inline_xsum): New reduction loops. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
548 * fNDArray.cc (FloatNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
549 * fNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
550 * fCNDArray.cc (FloatComplexNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
551 * fCNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
552 * dNDArray.cc (NDArray::xsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
553 * dNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
554 * CNDArray.cc (ComplexNDArray::xsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
555 * CNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
556 * intNDArray.cc (intNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
557 * intNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
558 |
9715
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
559 2009-10-12 Jaroslav Hajek <highegg@gmail.com> |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
560 |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
561 * base-qr.cc (base_qr::regular): New method. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
562 * base-qr.h: Declare it. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
563 * base-lu.cc (base_lu::regular): New method. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
564 * base-lu.h: Declare it. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
565 |
9713
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
566 2009-10-12 Jaroslav Hajek <highegg@gmail.com> |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
567 |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
568 * base-qr.h: New source. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
569 * base-qr.cc: New source. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
570 * dbleQR.h (QR): Rebase on base_qr<Matrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
571 * dbleQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
572 * floatQR.h (QR): Rebase on base_qr<FloatMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
573 * floatQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
574 * CmplxQR.h (QR): Rebase on base_qr<ComplexMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
575 * CmplxQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
576 * fCmplxQR.h (QR): Rebase on base_qr<FloatComplexMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
577 * fCmplxQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
578 * dbleQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
579 * dbleQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
580 * floatQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
581 * floatQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
582 * CmplxQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
583 * CmplxQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
584 * fCmplxQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
585 * fCmplxQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
586 |
9708 | 587 2009-10-08 Jaroslav Hajek <highegg@gmail.com> |
588 | |
589 * PermMatrix.cc (PermMatrix::eye): New method. | |
590 * PermMatrix.h: Declare it. | |
591 * dbleLU.cc (LU::update, LU::update_piv): New overloaded methods. | |
592 * dbleLU.h: Declare them. | |
593 * floatLU.cc (FloatLU::update, FloatLU::update_piv): New overloaded | |
594 methods. | |
595 * floatLU.h: Declare them. | |
596 * CmplxLU.cc (ComplexLU::update, ComplexLU::update_piv): New | |
597 overloaded methods. | |
598 * CmplxLU.h: Declare them. | |
599 * fCmplxLU.cc (FloatComplexLU::update, FloatComplexLU::update_piv): | |
600 New overloaded methods. | |
601 * fCmplxLU.h: Declare them. | |
602 | |
9702
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
603 2009-10-07 John W. Eaton <jwe@octave.org> |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
604 |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
605 * mx-inlines.cc (mx_inline_diff): Avoid uninitialized variable warning. |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
606 |
9698
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
607 2009-10-06 Jaroslav Hajek <highegg@gmail.com> |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
608 |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
609 * dDiagMatrix.cc (operator *(const DiagMatrix&, const DiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
610 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
611 * fDiagMatrix.cc (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
612 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
613 * CDiagMatrix.cc (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
614 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
615 * fCDiagMatrix.cc (operator *(const FloatComplexDiagMatrix&, const |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
616 FloatComplexDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
617 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
618 * DiagArray2.h (DiagArray2::diag_length): New method. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
619 * PermMatrix.h (PermMatrix::length): Make consistent with |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
620 DiagArray2::length. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
621 |
9697
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
622 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
623 |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
624 * base-lu.cc (base_lu::unpack): Unpack getp as well. |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
625 |
9695
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
626 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
627 |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
628 * PermMatrix.cc (PermMatrix::determinant): Implement a (hopefully) |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
629 working algorithm. |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
630 |
9694
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
631 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
632 |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
633 * dim-vector.h (operator ==): Include fast case. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
634 * base-lu.cc (base_lu::packed, base_lu::unpack): New methods. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
635 (base_lu::L, base_lu::U, base_lu::Y, base_lu::getp): Distinguish |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
636 packed vs. unpacked case. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
637 * base-lu.h: Update decls. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
638 (base_lu::l_fact): New member field. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
639 |
9685 | 640 2009-10-02 Jaroslav Hajek <highegg@gmail.com> |
641 | |
642 * lo-traits.h (strip_template_param): New trait class. | |
643 | |
9678
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
644 2009-10-01 Jaroslav Hajek <highegg@gmail.com> |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
645 |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
646 * Array.cc (Array<T>::permute): Fast case identity permutation. |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
647 |
9667
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
648 2009-09-27 Jaroslav Hajek <highegg@gmail.com> |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
649 |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
650 * oct-cmplx.h: Fix complex-real orderings. |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
651 |
9666
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
652 2009-09-27 Jaroslav Hajek <highegg@gmail.com> |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
653 |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
654 * dim-vector.h (dim_vector::redim): Rewrite. |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
655 * Array-util.cc (sub2ind): Allow single index case. |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
656 |
9665
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
657 2009-09-26 Jaroslav Hajek <highegg@gmail.com> |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
658 |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
659 * dMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
660 (operator *(const Matrix&, const Matrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
661 * fMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
662 (operator *(const FloatMatrix&, const FloatMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
663 * CMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
664 (operator *(const ComplexMatrix&, const ComplexMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
665 * fCMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
666 (operator *(const FloatComplexMatrix&, const FloatComplexMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
667 * dMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
668 * fMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
669 * CMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
670 * fCMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
671 |
9663
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
672 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
673 |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
674 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const Matrix&, const |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
675 Matrix&)): New constructor. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
676 (operator * (Matrix, ComplexMatrix), operator * (ComplexMatrix, |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
677 Matrix)): Optimize. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
678 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatMatrix&, const |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
679 FloatMatrix&)): New constructor. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
680 (operator * (FloatMatrix, FloatComplexMatrix), operator * (FloatComplexMatrix, |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
681 FloatMatrix)): Optimize. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
682 |
9662
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
683 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
684 |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
685 * dMatrix.cc (stack_complex_matrix, unstack_complex_matrix): New |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
686 static funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
687 (Matrix::solve (..., const ComplexMatrix&, ...)): Use the above funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
688 Improve forwarding. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
689 * fMatrix.cc (stack_complex_matrix, unstack_complex_matrix): New |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
690 static funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
691 (FloatMatrix::solve (..., const FloatComplexMatrix&, ...)): Use the |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
692 above funcs. Improve forwarding. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
693 |
9661
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
694 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
695 |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
696 * mx-defs.h (blas_trans_type): New enum. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
697 (get_blas_char): New inline func. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
698 * dMatrix.cc (Matrix::utsolve, Matrix::ltsolve, Matrix::solve): |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
699 Support transt parameter. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
700 * fMatrix.cc (FloatMatrix::utsolve, FloatMatrix::ltsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
701 FloatMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
702 * CMatrix.cc (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
703 ComplexMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
704 * fCMatrix.cc (FloatComplexMatrix::utsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
705 FloatComplexMatrix::ltsolve, FloatComplexMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
706 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
707 |
9660
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
708 2009-09-21 Jaroslav Hajek <highegg@gmail.com> |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
709 |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
710 * mx-op-defs.h (VS_BIN_OP, SV_BIN_OP, VV_BIN_OP): Simplify. |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
711 |
9656
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
712 2009-09-19 Jaroslav Hajek <highegg@gmail.com> |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
713 |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
714 * dNDArray.h (NDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
715 * fNDArray.h (FloatNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
716 * CNDArray.h (ComplexNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
717 * fCNDArray.h (FloatComplexNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
718 * boolNDArray.h (boolNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
719 * charNDArray.h (charNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
720 |
9967 | 721 * dMatrix.h (Matrix::column_vector_type, |
9656
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
722 Matrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
723 * fMatrix.h (FloatMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
724 FloatMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
725 * CMatrix.h (ComplexMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
726 ComplexMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
727 * fCMatrix.h (FloatComplexMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
728 FloatComplexMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
729 |
9655
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
730 2009-09-18 John W. Eaton <jwe@octave.org> |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
731 |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
732 * mach-info.cc: Don't include oct-types.h. |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
733 |
9653
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
734 2009-09-18 Jaroslav Hajek <highegg@gmail.com> |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
735 |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
736 * Array.h (NoAlias): New template class. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
737 * dRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
738 * fRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
739 * CRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
740 * fCRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
741 * dMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
742 * dMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
743 * fMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
744 * fMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
745 * CMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
746 * CMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
747 * fCMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
748 * fCMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
749 |
9648
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
750 2009-09-17 John W. Eaton <jwe@octave.org> |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
751 |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
752 * oct-types.h.in: Delete. |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
753 * Makefile.in (BUILT_INCLUDES, DISTFILES): Remove oct-types.h.in |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
754 from the list. |
9649
d0e2aa1974e9
changelog fix for previous change
John W. Eaton <jwe@octave.org>
parents:
9648
diff
changeset
|
755 (distclean, maintainer-clean): Don't remove oct-types.h |
9648
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
756 * DAEFunc.h, MatrixType.h, base-aepbal.h, dim-vector.h, |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
757 lo-specfun.h, lo-utils.h, mx-op-decl.h, oct-inttypes.h, |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
758 randgamma.h, randmtzig.h, randpoisson.h: |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
759 Don't include oct-types.h. |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
760 |
9647
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
761 2009-09-16 Jaroslav Hajek <highegg@gmail.com> |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
762 |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
763 * oct-rand.cc (octave_rand::do_matrix, do_nd_array, do_vector): |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
764 Use Array::clear rather than Array::resize. |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
765 |
9625
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
766 2009-09-06 Jaroslav Hajek <highegg@gmail.com> |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
767 |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
768 * dColVector.h (operator *(const Matrix&, const ColumnVector)): |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
769 Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
770 * fColVector.h (operator *(const FloatMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
771 FloatColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
772 * CColVector.h (operator *(const ComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
773 ComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
774 * fCColVector.h (operator *(const FloatComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
775 FloatComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
776 |
9624
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
777 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
778 |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
779 * Array.cc (Array<T>::clear (const dim_vector&)): new method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
780 * Array.h: Declare it. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
781 (Array<T>::clear (octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
782 (Array<T>::clear (octave_idx_type, octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
783 |
9612
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
784 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
785 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
786 * mx-inlines.cc (DEFMXBOOLOPEQ): New macro. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
787 (mx_inline_and2, mx_inline_or2): New loops. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
788 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
789 * MArray.h (MArray<T>::MArray (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
790 (MArray<T>::MArray (const Array<T>&)): Ensure column vector. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
791 (MArray<T>::resize): New method. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
792 * DiagArray2.h (DiagArray2<T>::DiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
793 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
794 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
795 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
796 * dColVector.h (ColumnVector::ColumnVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
797 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
798 * fColVector.h (FloatColumnVector::FloatColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
799 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
800 * CColVector.h (ComplexColumnVector::ComplexColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
801 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
802 * fCColVector.h (FloatComplexColumnVector::FloatComplexColumnVector |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
803 (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
804 * dRowVector.h (RowVector::RowVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
805 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
806 * fRowVector.h (FloatRowVector::FloatRowVector (const dim_vector&)): |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
807 New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
808 * CRowVector.h (ComplexRowVector::ComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
809 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
810 * fCRowVector.h (FloatComplexRowVector::FloatComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
811 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
812 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
813 * CNDArray.cc (operator *= (const ComplexNDArray, double)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
814 * fCNDArray.cc (operator *= (const FloatComplexNDArray, float)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
815 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
816 * MArray.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
817 (operator += (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
818 (operator -= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
819 (operator *= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
820 (operator /= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
821 (operator += (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
822 (operator -= (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
823 (product (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
824 (quotient (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
825 (MARRAY_AS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
826 (MARRAY_SA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
827 (MARRAY_AA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
828 (operator - (const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
829 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
830 * MArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
831 (operator += (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
832 (operator -= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
833 (operator *= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
834 (operator /= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
835 (operator += (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
836 (operator -= (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
837 (product (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
838 (quotient (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
839 (MARRAY_A2S_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
840 (MARRAY_SA2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
841 (MARRAY_A2A2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
842 (operator - (const MArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
843 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
844 * MArrayN.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
845 (operator += (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
846 (operator -= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
847 (operator *= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
848 (operator /= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
849 (operator += (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
850 (operator -= (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
851 (product (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
852 (quotient (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
853 (MARRAY_NDS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
854 (MARRAY_SND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
855 (MARRAY_NDND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
856 (operator - (const MArrayN<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
857 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
858 * MDiagArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
859 (operator += (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
860 (operator -= (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
861 (operator *= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
862 (operator /= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
863 (MARRAY_DAS_OP, MARRAY_SDA_OP, MARRAY_DADA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
864 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
865 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
866 * MArray-defs.h (DO_VS_OP, DO_SV_OP, DO_VV_OP, |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
867 DO_VS_OP2, DO_VV_OP2, NEGV): Remove. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
868 |
9607
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
869 2009-09-03 Jaroslav Hajek <highegg@gmail.com> |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
870 |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
871 * mx-inlines.cc (DEFMXUNOPEQ): New macro. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
872 (mx_inline_not2, mx_inline_uminus2): New loops. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
873 * boolNDArray.cc (boolNDArray::invert): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
874 * boolNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
875 * MArrayN.cc (MArrayN<T>::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
876 * MArrayN.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
877 * dNDArray.cc (NDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
878 * dNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
879 * fNDArray.cc (FloatNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
880 * fNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
881 * CNDArray.cc (ComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
882 * CNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
883 * fCNDArray.cc (FloatComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
884 * fCNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
885 * intNDArray.cc (intNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
886 * intNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
887 |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
888 2009-09-02 Jaroslav Hajek <highegg@gmail.com> |
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
889 |
9604
4dd8fc7c106c
ChangeLog fix for last change: FLOAT_STORE->FLOAT_TRUNCATE
Jaroslav Hajek <highegg@gmail.com>
parents:
9603
diff
changeset
|
890 * oct-cmplx.h: Rewrite the comaprison ops. Use FLOAT_TRUNCATE. |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
891 |
9594
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
892 2009-09-01 Jaroslav Hajek <highegg@gmail.com> |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
893 |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
894 * oct-cmplx.h: Correct strict operators in macros. |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
895 |
9591
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
896 2009-08-31 John W. Eaton <jwe@octave.org> |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
897 |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
898 * liboctave/lo-ieee.cc (octave_ieee_init): Abort if floating point |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
899 format is not recognized as IEEE. |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
900 |
9582
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
901 2009-08-27 John W. Eaton <jwe@octave.org> |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
902 |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
903 * str-vec.cc, str-vec.h (string_vector::string_vector (const |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
904 std::set<std::string>&)): New constructor. |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
905 |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
906 2009-08-27 Jaroslav Hajek <highegg@gmail.com> |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
907 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
908 * mx-inlines.cc (DEFCMPLXCMOP): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
909 * oct-cmplx.h (operator <, operator >): Remove definitions. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
910 (DEF_COMPLEXR_COMP): New macro. Instantiate for <, >, <=, >=. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
911 * mx-op-defs.h (MM_CMP_OP, MS_CMP_OP, SM_CMP_OP, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
912 NDND_CMP_OP, NDS_CMP_OP, SND_CMP_OP): Replace by one-liners. Remove |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
913 unused parameters. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
914 (MM_CMP_OPS, MS_CMP_OPS, SM_CMP_OPS, NDND_CMP_OPS, NDS_CMP_OPS, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
915 SND_CMP_OPS): Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
916 (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, NDS_CMP_OPS2, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
917 SND_CMP_OP1, SND_CMP_OPS1, SND_CMP_OP2, SND_CMP_OPS2): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
918 * mk-ops.awk: Simplify CMP_OPS branch. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
919 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS, SPARSE_SMS_CMP_OPS, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
920 SPARSE_SSM_CMP_OPS, SPARSE_MSM_CMP_OPS, SPARSE_SMM_CMP_OPS): |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
921 Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
922 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
923 * CNDArray.cc: Update syntax. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
924 * boolNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
925 * chNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
926 * dNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
927 * fCNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
928 * fNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
929 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
930 * int16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
931 * int32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
932 * int64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
933 * int8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
934 * uint16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
935 * uint32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
936 * uint64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
937 * uint8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
938 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
939 * CMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
940 * boolMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
941 * chMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
942 * dMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
943 * fCMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
944 * fMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
945 |
9557
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
946 2009-08-24 Jaroslav Hajek <highegg@gmail.com> |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
947 |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
948 * MArray.cc (MArray<T>::product_eq, MArray<T>::quotient_eq): New |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
949 methods. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
950 * MArray2.cc (MArray2<T>::product_eq, MArray2<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
951 * MArrayN.cc (MArrayN<T>::product_eq, MArrayN<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
952 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLX): New macro. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
953 (MARRAY_OP_ASSIGN_DECLS, MARRAY_OP_ASSIGN_FWD_DEFS): Include |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
954 product_eq and quotient_eq. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
955 (MARRAY_FORWARD_DEFS): Use MARRAY_OP_ASSIGN_FWD_DEFS1. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
956 (MDIAGARRAY2_OPS_FORWARD_DECLS): Don't instantiate |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
957 OP= operators for diag matrices. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
958 (MDIAGARRAY2_FORWARD_DEFS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
959 * MArray-defs.h (INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
960 |
9556
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
961 2009-08-23 Jaroslav Hajek <highegg@gmail.com> |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
962 |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
963 * Array.h (Array::make_unique, Array::~Array, Array::operator =): |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
964 Move here to allow inlining. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
965 * Array.cc: Remove from here. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
966 |
9553
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
967 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
968 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
969 * mx-inlines.cc (logical_value): New overloaded template. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
970 (DEFMXBOOL_OP): Use it in definitions. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
971 (mx_inline_not): Also use logical_value. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
972 * mx-op-defs.h (ND_LOGICAL_NAN_CHECK, SC_LOGICAL_NAN_CHECK): Remove |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
973 (also from all macros). |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
974 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
975 * CMatrix.cc (operator !): Simply call mx_inline_not. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
976 * CNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
977 * dMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
978 * dNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
979 * fCMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
980 * fCNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
981 * fMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
982 * fNDArray.cc: Ditto. |
9967 | 983 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
984 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
9967 | 985 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
986 * dMatrix.cc (Matrix::operator!): Simplify & check for NaNs. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
987 * fMatrix.cc (FloatMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
988 * CMatrix.cc (ComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
989 * fCMatrix.cc (FloatComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
990 * dNDArray.cc (NDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
991 * fNDArray.cc (FloatNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
992 * CNDArray.cc (ComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
993 * fCNDArray.cc (FloatComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
994 |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
995 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
996 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
997 * mx-inlines.cc (mx_inline_add, mx_inline_sub, mx_inline_mul, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
998 mx_inline_div, mx_inline_uminus, mx_inline_not, mx_inline_add2, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
999 mx_inline_sub2, mx_inline_mul2, mx_inline_div2, mx_inline_iszero, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1000 mx_inline_notzero, mx_inline_and, mx_inline_or, mx_inline_not_and, |
9967 | 1001 mx_inline_not_or, mx_inline_and_not, mx_inline_or_not, |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1002 mx_inline_lt, mx_inline_le, mx_inline_gt, mx_inline_ge, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1003 mx_inline_eq, mx_inline_ne): New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1004 (do_mx_unary_op, do_mm_binary_op, do_sm_binary_op, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1005 do_ms_binary_op, do_mm_inplace_op,do_ms_inplace_op): |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1006 New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1007 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1008 * mx-op-defs.h (ND_LOGICAL_NAN_CHECK, SC_LOGICAL_NAN_CHECK): |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1009 New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1010 (NDND_BIN_OP, NDS_BIN_OP, SND_BIN_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1011 (MM_BIN_OP, MS_BIN_OP, MM_BIN_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1012 (NDND_BOOL_OP, NDS_BOOL_OP, SND_BOOL_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1013 (MM_BOOL_OP, MS_BOOL_OP, MM_BOOL_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1014 (NDND_BOOL_OPS2, NDS_BOOL_OPS2, SND_BOOL_OPS2, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1015 MM_BOOL_OPS2, MS_BOOL_OPS2, SM_BOOL_OPS2): Remove. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1016 * mx-op-decl.h (NDND_BOOL_OPX_DECLS, NDS_BOOL_OPX_DECLS, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1017 SND_BOOL_OPX_DECLS): New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1018 * mk-ops.awk: use _BOOL_OPS rather than _BOOL_OPS2. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1019 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1020 * boolMatrix.cc: Add missing bool op defs. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1021 * boolMatrix.h: Add missing bool op decls. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1022 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1023 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1024 * boolNDArray.cc: Remove unused arg to BOOL_OPS. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1025 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1026 * CNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1027 * ChangeLog: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1028 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1029 * chNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1030 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1031 * dNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1032 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1033 * fCNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1034 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1035 * fNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1036 * int16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1037 * int32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1038 * int64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1039 * int8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1040 * uint16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1041 * uint32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1042 * uint64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1043 * uint8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1044 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1045 * CColVector.cc: Update syntax where needed. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1046 * CDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1047 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1048 * CRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1049 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1050 * dColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1051 * dDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1052 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1053 * dRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1054 * fCColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1055 * fCDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1056 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1057 * fCRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1058 * fColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1059 * fDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1060 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1061 * fRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1062 |
9549
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1063 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1064 |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1065 * Array-util.cc (zero_dims_inquire): Add matching ndims case. |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1066 |
9548
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1067 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1068 |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1069 * MArrayN.cc (operator+=, operator-=): Test matching dimensions first. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1070 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): New functions. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1071 * boolNDArray.h: Declare them. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1072 |
9546
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1073 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1074 |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1075 * Array.cc (Array<T>::clear): New method. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1076 * Array.h: Declare it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1077 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLS1, MARRAY_OP_ASSIGN_FWD_DECLS1, |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1078 MARRAY_OP_ASSIGN_FRIENDS1, MARRAY_OP_ASSIGN_FWD_DEFS1): New macros. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1079 (MARRAY_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS): Use them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1080 * MArray-defs.h (MARRAY_OP_ASSIGN_DEFS1): New macro. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1081 (INSTANTIATE_MARRAY_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1082 (INSTANTIATE_MARRAY2_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1083 (INSTANTIATE_MARRAYN_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1084 * MArray.cc (operator+=, operator-=): |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1085 Operate out-of-place when this is shared copy. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1086 (operator*=, operator/=): New operator overloads. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1087 * MArray2.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1088 * MArrayN.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1089 * CNDArray.cc (operator *= (ComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1090 operator /= (ComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1091 * CNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1092 * fCNDArray.cc (operator *= (FloatComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1093 operator /= (FloatComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1094 * fCNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1095 |
9534
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1096 2009-08-17 John W. Eaton <jwe@octave.org> |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1097 |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1098 * Makefile.in (LINK_DEPS): List LIBS last. |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1099 |
9528
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1100 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1101 |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1102 * dMatrix.cc, fMatrix.cc, CMatrix.cc, fCMatrix.cc: Add more tests. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1103 * CMatrix.cc (xgemm): Fix vector * matrix case. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1104 * fCMatrix.cc (xgemm): Ditto. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1105 |
9527
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
1106 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
1107 |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
1108 * fMatrix.cc, fCMatrix.cc: Make tests use single precision. |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
1109 |
9526
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1110 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1111 |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1112 * CMatrix.cc (xgemm): Fix typo. Add test. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1113 * fCMatrix.cc (xgemm): Ditto. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1114 |
9524
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
1115 2009-08-14 John W. Eaton <jwe@octave.org> |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
1116 |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
1117 * Makefile.in (LINK_DEPS): Include BLAS_LIBS in the list. |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
1118 |
9523
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1119 2009-08-13 John W. Eaton <jwe@octave.org> |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1120 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1121 * CMatrix.cc, CNDArray.cc, dMatrix.cc, dNDArray.cc, fCMatrix.cc, |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1122 fCNDArray.cc, fMatrix.cc, fNDARray.cc, oct-fftw.cc, oct-fftw.h: |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1123 Update for new FFTW defines. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1124 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1125 * Makefile.in: Add library-specific CPPFLAGS and LDFLAGS variables |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1126 to CPPFLAGS and LDFLAGS for files that use sparse matrices or fftw. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1127 |
9518
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
1128 2009-08-12 Jaroslav Hajek <highegg@gmail.com> |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
1129 |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
1130 * Makefile.in: Include LDFLAGS when linking shared executable. |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
1131 |
9516
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1132 2009-08-11 John W. Eaton <jwe@octave.org> |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1133 |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1134 * oct-fftw.h, oct-fftw.cc (octave_fftw_planner): Convert to singleton. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1135 (octave_float_fft_planner): Likewise. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1136 |
9515 | 1137 2009-08-11 John W. Eaton <jwe@octave.org> |
1138 | |
1139 * Makefile.in (LINK_DEPS): Use READLINE_LIBS instead of | |
1140 LIBREADLINE. Also link with TERM_LIBS and DL_LIBS. | |
1141 | |
9513
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1142 2009-08-11 Jaroslav Hajek <highegg@gmail.com> |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1143 |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1144 * mx-inlines.cc (mx_inline_diff<T>): New overloaded template |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1145 function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1146 (get_extent_triplet): Use dim_vector::first_non_singleton. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1147 (do_mx_diff_op): New template function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1148 * dNDArray.cc (NDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1149 * dNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1150 * fNDArray.cc (FloatNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1151 * fNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1152 * CNDArray.cc (ComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1153 * CNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1154 * fCNDArray.cc (FloatComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1155 * fCNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1156 * intNDArray.cc (intNDArray<T>::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1157 * intNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1158 |
9511
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1159 2009-08-10 Jaroslav Hajek <highegg@gmail.com> |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1160 |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1161 * dim-vector.h (dim_vector::first_non_singleton): New method. |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1162 |
9507
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1163 2009-08-06 Jaroslav Hajek <highegg@gmail.com> |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1164 |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1165 * dim-vector.h (dim_vector): Rewrite. Use single-alloc implementation |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1166 aka GCC's basic_string class. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1167 * Array.cc: Use dim_vector::alloc where fitting. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1168 * Array-util.cc: Ditto. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1169 |
9493 | 1170 2009-08-05 John W. Eaton <jwe@octave.org> |
1171 | |
1172 * oct-shlib.cc (octave_shl_load_shlib::open): Pass BIND_IMMEDIATE, | |
1173 not BIND_DEFERRED to shl_load. | |
1174 (octave_dlopen_shlib::open): Don't pass RTLD_GLOBAL to dlopen. | |
1175 | |
9490 | 1176 2009-08-05 John W. Eaton <jwe@octave.org> |
1177 | |
1178 * Makefile.in (LINK_DEPS): Omit $(BLAS_LIBS) from the list. | |
1179 Include $(RLD_FLAG) in the list. | |
1180 | |
9488
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
1181 2009-08-05 John W. Eaton <jwe@octave.org> |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
1182 |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
1183 * Makefile.in (LINK_DEPS): Include $(PTHREAD_LIBS) in the list. |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
1184 |
9485
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1185 2009-08-04 Kristian Rumberg <kristianrumberg@gmail.com> |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1186 |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1187 * cmd-edit.cc (gnu_readline::do_get_line_buffer, |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1188 default_command_editor::do_get_line_buffer): New functions. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1189 (command_editor::get_line_buffer): New function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1190 * cmd-edit.h (command_editor::get_line_buffer): Provide decls. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1191 (command_editor::do_get_line_buffer): New pure virtual function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1192 |
9479
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1193 2009-07-31 Jaroslav Hajek <highegg@gmail.com> |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1194 |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1195 * idx-vector.h (idx_vector::is_range): New method. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1196 (idx_vector::copy_data, idx_vector::unconvert): New method decls. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1197 * idx-vector.cc (idx_vector::copy_data, idx_vector::unconvert): New |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1198 methods. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1199 * Array-utils.cc (sub2ind, ind2sub): New functions. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1200 |
9469
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1201 2009-07-29 John W. Eaton <jwe@octave.org> |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1202 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1203 * fMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1204 * fNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1205 * fCMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1206 * fCNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1207 * dMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1208 * dNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1209 * CMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1210 * CNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1211 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1212 * lo-utils.cc, lo-utils.h (octave_read_value): New template |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1213 (octave_read_value<double>, octave_read_value<Complex>): |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1214 Provide specializations. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1215 (octave_read_double, octave_read_complex, octave_read_float, |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1216 octave_rread_float_complex): Define in terms of template functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1217 * Sparse.h (read_sparse_matrix): New template function. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1218 * dSparse.cc (operator >>): Call read_sparse_matrix. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1219 * CSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1220 * boolSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1221 * sparse-util.cc, sparse-util.h (sparse_indices_ok): New function. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1222 * Sparse.cc (Sparse<T>::indices_ok, Sparse<T>::SparseRep::indices_ok): |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1223 New member functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1224 |
9441
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1225 2009-07-20 John W. Eaton <jwe@octave.org> |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1226 |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1227 * lo-ieee.cc (octave_ieee_init) [__NetBSD__]: Call nan to |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1228 initialize Octave_NaN and nanf, to initialize Octave_Float_NaN. |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1229 |
9431 | 1230 2009-07-11 John W. Eaton <jwe@octave.org> |
1231 | |
1232 * file-ops.cc (file_ops::symlink, file_ops::readlink): | |
1233 Don't use incorrectly sized OCTAVE_LOCAL_BUFFER. | |
1234 | |
9420
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1235 2009-07-08 John W. Eaton <jwe@octave.org> |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1236 |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1237 * dim-vector.h (dim_vector::dim_vector_rep::dim_vector_rep |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1238 (octave_idx_type, const dim_vector_rep *, int)): |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1239 Enforce 2-d objects here. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1240 (dim_vector::dim_vector_rep::dim_vector_rep): Simply copy object. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1241 (dim_vector::resize): Allow N < 2. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1242 |
9417
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1243 2009-07-03 Jaroslav Hajek <highegg@gmail.com> |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1244 |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1245 * Sparse-op-defs.h (SPARSE_ALL_OP): Fix typo. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1246 * dSparse.cc (SparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1247 * CSparse.cc (ComplexSparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1248 |
9414
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1249 2009-07-02 Jaroslav Hajek <highegg@gmail.com> |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1250 |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1251 * Sparse-diag-op-defs.h (inner_do_add_sm_dm): Rewrite to ensure |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1252 ordering of row indices. |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1253 |
9410
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1254 2009-06-30 Jaroslav Hajek <highegg@gmail.com> |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1255 |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1256 * oct-sort.cc (octave_sort<T>::lookupb<Comp>): Fix typo. |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1257 |
9407
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1258 2009-06-29 Jaroslav Hajek <highegg@gmail.com> |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1259 |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1260 * oct-sort.cc (octave_sort<T>::lookup_merge): Delete. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1261 (octave_sort<T>::lookup<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1262 octave_sort<T>::lookupm<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1263 octave_sort<T>::lookupb<Comp>): Rewrite. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1264 |
9402
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1265 2009-06-26 Michael Goffioul <michael.goffioul@gmail.com> |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1266 |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1267 * pathsearch.h (class dir_path::static_members): Decorate with |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1268 OCTAVE_API. |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1269 |
9400
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1270 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1271 |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1272 * oct-sort.cc (octave_sort<T>::lookup_merge<Comp>): Slightly speed-up |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1273 the merge case. |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1274 |
9399
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1275 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1276 |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1277 * oct-sort.cc (octave_sort<T>::lookup_merge<Comp>): Fix lower-part |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1278 recursion. |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1279 |
9391
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1280 2009-06-24 Alexander Barth <barth.alexander@gmail.com> |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1281 |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1282 * eigs-base.cc (EigsRealSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1283 EigsRealSymmetricMatrixShift, EigsRealSymmetricFunc, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1284 EigsRealNonSymmetricMatrix, EigsRealNonSymmetricMatrixShift, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1285 EigsRealNonSymmetricFunc, EigsComplexNonSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1286 EigsComplexNonSymmetricMatrixShift, EigsComplexNonSymmetricFunc): |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1287 Use octave_idx_type for parameters of type LOGICAL in ARPACK. |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1288 |
9370
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1289 2009-06-22 Jaroslav Hajek <highegg@gmail.com> |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1290 |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1291 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1292 Optimize w.r.t. COW of std::string. |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1293 |
9362
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1294 2009-06-18 Jaroslav Hajek <highegg@gmail.com> |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1295 |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1296 * oct-sort.cc (lookup_impl<T, Comp>): New helper inline function. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1297 (octave_sort<T>::lookup_merge<Comp>): New private template method. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1298 (octave_sort<T>::lookup<Comp>): Rewrite. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1299 (octave_sort<T>::lookupm<Comp>): use lookup_impl. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1300 (octave_sort<T>::lookupb<Comp>): use lookup_impl. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1301 (out_of_range_pred, out_of_range): Remove. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1302 |
9359
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1303 2009-06-18 Jaroslav Hajek <highegg@gmail.com> |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1304 |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1305 * dMatrix.cc (xgemm): Replace resize() with uninitialized allocations |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1306 where appropriate. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1307 * fMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1308 * CMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1309 * fCMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1310 |
9341
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1311 2009-06-12 Jaroslav Hajek <highegg@gmail.com> |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1312 |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1313 * oct-sort.cc (octave_sort::lookupm, octave_sort::lookupb): New |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1314 overloaded methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1315 * oct-sort.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1316 * Array.cc (Array<T>::lookupm, Array<T>::lookupb): New methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1317 * Array.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1318 |
9321
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1319 2009-06-09 Jaroslav Hajek <highegg@gmail.com> |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1320 |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1321 * cmd-edit.cc (command_editor::force_default_editor): New static |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1322 method. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1323 * cmd-edit.h: Declare it. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1324 |
9319
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1325 2009-06-09 Jaroslav Hajek <highegg@gmail.com> |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1326 |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1327 * lo-mappers.cc (xlog2 (const Complex&, int&), xlog2 (const |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1328 FloatComplex&, int&)): Use more robust expression. |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1329 |
9310 | 1330 2009-06-07 Jaroslav Hajek <highegg@gmail.com> |
1331 | |
1332 * Array.cc (Array<T>::find): Avoid allocating excessive memory. Fix | |
1333 order for backward searches. | |
1334 | |
9287
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1335 2009-06-02 Jaroslav Hajek <highegg@gmail.com> |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1336 |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1337 * Array-C.cc (class DiagArray2<Complex>::Proxy): Only explicitly |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1338 instantiate DiagArray2<T>::Proxy on MSVC. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1339 * Array-d.cc (class DiagArray2<double>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1340 * Array-f.cc (class DiagArray2<float>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1341 * Array-fC.cc (class DiagArray2<FloatComplex>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1342 |
9267 | 1343 2009-05-26 John W. Eaton <jwe@octave.org> |
1344 | |
1345 * pathsearch.h (dir_path::path_sep_char (char), | |
1346 dir_path::static_members::path_sep_char (char)): New functions. | |
1347 | |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1348 2009-05-21 Michael Goffioul <michael.goffioul@gmail.com> |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1349 |
9237
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1350 * Array-C.cc (class DiagArray2<Complex>::Proxy): Tag with OCTAVE_API. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1351 * Array-d.cc (class DiagArray2<double>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1352 * Array-f.cc (class DiagArray2<float>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1353 * Array-fC.cc (class DiagArray2<FloatComplex>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1354 * Array.cc (class octave_sort<T>): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1355 * CColVector.h (conj, operator*, operator>>, operator<<): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1356 * CDiagMatrix.h (class ComplexDiagMatrix, conj, operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1357 * CMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1358 * CNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1359 * PermMatrix.h (class PermMatrix, operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1360 * dDiagMatrix.h (class DiagMatrix): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1361 * fCColVector.h (conj, operator*, operator>>, operator<<): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1362 * fCDiagMatrix.h (class FloatComplexDiagMatrix, conj, operator*): |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1363 Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1364 * fCMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1365 * fCNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1366 * fDiagMatrix.h (operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1367 * oct-locbuf.h (octave_chunk_buffer::octave_chunk_buffer, |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1368 octave_chunk_buffer::~octave_chunk_buffer): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1369 * oct-inttypes.cc (octave_int_cmp_op::emulate_op): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1370 * DET.h (class base_det<T>): Remove OCTAVE_API (cannot be applied on |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1371 templates). |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1372 * oct-inttypes.cc (octave_int_cmp_op::emulate_op<class xop>): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1373 |
9235
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1374 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::delete_col): Copy |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1375 volatile variable to avoid MSVC compilation error (cannot pass |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1376 volatile variable as const& argument). |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1377 * dbleQR.cc (QR::insert_col, QR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1378 * fCmplxQR.cc (FloatComplexQR::insert_col, |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1379 FloatComplexQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1380 * floatQR.cc (FloatQR::insert_col, FloatQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1381 |
9233
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
1382 * oct-mutex.cc: Exclude pthread.h inclusion under Win32. |
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
1383 |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1384 * base-aepbal.h (base_aepbal::operator=): Add missing return |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1385 statement. |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1386 |
9228
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1387 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1388 |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1389 * eigs-base.cc ( |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1390 EigsRealSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1391 EigsRealSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1392 EigsRealSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1393 EigsRealNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1394 EigsRealNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1395 EigsRealNonSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1396 EigsComplexNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1397 EigsComplexNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1398 EigsComplexNonSymmetricFunc): Update tests. |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1399 |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1400 2009-05-21 Jaroslav Hajek <highegg@gmail.com> |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1401 |
9967 | 1402 * CMatrix.cc |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1403 (ComplexMatrix::all, ComplexMatrix::any, ComplexMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1404 ComplexMatrix::cumsum, ComplexMatrix::prod, ComplexMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1405 ComplexMatrix::sumsq): Use explicit template qualifications |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1406 to workaround bugs in Intel C++ and MSVC++ compilers. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1407 * CNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1408 (ComplexNDArray::all, ComplexNDArray::any, ComplexNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1409 ComplexNDArray::cumsum, ComplexNDArray::prod, ComplexNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1410 ComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1411 * boolMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1412 (boolMatrix::all, boolMatrix::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1413 * boolNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1414 (boolNDArray::all, boolNDArray::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1415 * chMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1416 (charMatrix::all, charMatrix::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1417 * chNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1418 (charNDArray::all, charNDArray::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1419 * dMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1420 (Matrix::all, Matrix::any, Matrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1421 Matrix::cumsum, Matrix::prod, Matrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1422 Matrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1423 * dNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1424 (NDArray::all, NDArray::any, NDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1425 NDArray::cumsum, NDArray::prod, NDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1426 NDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1427 * fCMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1428 (FloatComplexMatrix::all, FloatComplexMatrix::any, FloatComplexMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1429 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, FloatComplexMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1430 FloatComplexMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1431 * fCNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1432 (FloatComplexNDArray::all, FloatComplexNDArray::any, FloatComplexNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1433 FloatComplexNDArray::cumsum, FloatComplexNDArray::prod, FloatComplexNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1434 FloatComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1435 * fMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1436 (FloatMatrix::all, FloatMatrix::any, FloatMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1437 FloatMatrix::cumsum, FloatMatrix::prod, FloatMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1438 FloatMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1439 * fNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1440 (FloatNDArray::all, FloatNDArray::any, FloatNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1441 FloatNDArray::cumsum, FloatNDArray::prod, FloatNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1442 FloatNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1443 * intNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1444 (intNDArray<T>::all, intNDArray<T>::any, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1445 intNDArray<T>::cumsum, intNDArray<T>::sum): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1446 |
9225
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
1447 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
1448 |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
1449 * Makefile.in: Remove reference to ArrayN-idx.h. |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
1450 |
9222
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1451 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1452 |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1453 * Array-voidp.cc: New source. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1454 * Array.cc (NO_INSTANTIATE_ARRAY_SORT): const T& -> T const & |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1455 * Makefile.in: Include it. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1456 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
1457 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
9967 | 1458 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
1459 * Array.cc (Array<T>::instantiation_guard): New function |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
1460 (INSTANTIATE_ARRAY): Always override it here. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
1461 * Array.h: Declare it. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
1462 |
9200
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1463 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1464 |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1465 * ArrayN-idx.h: Remove file. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1466 * ArrayN.cc: Don't include it. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1467 * MArrayN.cc: Dtto. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1468 |
9192
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
1469 2009-05-09 Jaroslav Hajek <highegg@gmail.com> |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
1470 |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
1471 * Array-util.cc (zero_dims_inquire): Move j++ out of branch. |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
1472 |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
1473 2009-05-07 Marco Atzeri <marco_atzeri@yahoo.it> |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
1474 |
9967 | 1475 * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
1476 |
9182
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
1477 2009-05-05 Robert T. Short <octave@phaselockedsystems.com> |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
1478 |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
1479 * file-ops.h (file_ops::tail) New function. |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
1480 |
9179
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
1481 2009-05-05 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
1482 |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
1483 * Quad.cc (user_function): Use access_double and assign_double on |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
1484 SPARC only, not on all Sun systems. |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
1485 * sun-utils.h: Likewise, define these functions on SPARC only. |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
1486 |
9177
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
1487 2009-05-05 Jaroslav Hajek <highegg@gmail.com> |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
1488 |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
1489 * Sparse.cc (assign1): Fix an old indexing bug. |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
1490 |
9169
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
1491 2009-05-04 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
1492 |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
1493 * Quad.cc (float_user_function): Remove Sun/GCC special case. |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
1494 |
9124
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
1495 2009-04-16 Jaroslav Hajek <highegg@gmail.com> |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
1496 |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
1497 * idx-vector.cc (idx_vector::idx_range_rep::idx_range_rep (const |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
1498 Range&)): Check for positive integer indices. Unify gripes. |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
1499 |
9121
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
1500 2009-04-15 Jaroslav Hajek <highegg@gmail.com> |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
1501 |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
1502 * Array.cc (rec_permute_helper::blk_trans): Declare as static. |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
1503 (Array<T>::transpose): Reuse it. |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
1504 |
9100
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1505 2009-04-04 Jaroslav Hajek <highegg@gmail.com> |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1506 |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1507 * Array.cc (Array<T>::make_unique): Don't economize when unique. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1508 (Array<T>::resize_fill (octave_idx_type, const T&)): Optimize push & |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1509 pop operations. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1510 (Array<T>::delete_elements (const idx_vector&)): Do pop operation |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1511 using resize. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1512 |
9058
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
1513 2009-03-29 Jaroslav Hajek <highegg@gmail.com> |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
1514 |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
1515 * Array.cc (Array<T>::assign): Remove redundant checks after invalid |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
1516 resize. |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
1517 |
9046
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
1518 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
1519 |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
1520 * Array.cc (Array<T>::find): Reshape result for Matlab compatibility. |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
1521 * Array.h (Array<T>): Add friend template declaration. |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
1522 |
9045
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
1523 2009-03-27 Jaroslav Hajek <highegg@gmail.com> |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
1524 |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
1525 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
1526 Array<bool>&): Use more M*b-compatible behaviour. |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
1527 |
9027
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
1528 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
1529 |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
1530 * dim-vector.h (dim_vector::numel): Add optional argument, simplify. |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
1531 |
9026
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
1532 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
1533 |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
1534 * Array.h (Array<T>::dims): Return a const reference. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
1535 (Array<T>::is_vector): New method. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
1536 |
9025 | 1537 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
1538 | |
1539 * Array.cc (Array<T>::find): New method. | |
1540 * Array.h: Declare it. | |
1541 | |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
1542 2009-03-25 John W. Eaton <jwe@octave.org> |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
1543 |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
1544 * EIG.cc (EIG::init (const Matrix&, bool), |
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
1545 EIG::init (const Matrix&, const Matrix&, bool)): |
9021 | 1546 Avoid volatile declaration for tmp variable. |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
1547 |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
1548 * Makefile.in (MATRIX_INC): Add Sparse-diag-op-defs.h and |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
1549 Sparse-perm-op-defs.h to the list. |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
1550 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
1551 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9967 | 1552 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
1553 * oct-inttypes.cc (INT_DOUBLE_BINOP_DECL (*, uint64), |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
1554 INT_DOUBLE_BINOP_DECL (*, int64)): x -> y where appropriate. |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
1555 |
9012
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1556 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1557 |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1558 * Array.cc (rec_permute_helper::use_blk): New field. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1559 (rec_permute_helper::blk_trans): New method. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1560 (rec_permute_helper::rec_permute_helper): Use smart reductions, |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1561 detect possibility of using blocked transpose. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1562 (rec_permute_helper::do_permute): Use blocked transpose if possible. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1563 |
9007
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
1564 2009-03-23 Jaroslav Hajek <highegg@gmail.com> |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
1565 |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
1566 * idx-vector.cc (convert_index(double,...)): Simplify. |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
1567 |
9003
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1568 2009-03-21 Jaroslav Hajek <highegg@gmail.com> |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1569 |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1570 * Array-d.cc: lo_ieee_isnan -> xisnan. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1571 * Array-f.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1572 * oct-inttypes.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1573 * oct-inttypes.h: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1574 * CDiagMatrix.cc: Add missing include. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1575 * fCDiagMatrix.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1576 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
1577 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
9967 | 1578 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
1579 * CColVector.cc, CMatrix.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
1580 boolSparse.cc, dColVector.cc, dMatrix.cc, dNDArray.cc, dRowVector.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
1581 dSparse.cc, fCColVector.cc, fCMatrix.cc, fCNDArray.cc, fCRowVector.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
1582 fColVector.cc, fMatrix.cc, fNDArray.cc, fRowVector.cc, intNDArray.cc: |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
1583 Allow empty arrays in stream input operators. |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
1584 |
8998
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1585 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1586 |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1587 * Array.h (Array<T>::fastmap): New method. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1588 * dNDArray.cc (NDArray::isnan, NDArray::isinf, NDArray::isfinite): |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1589 New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1590 * dNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1591 * fNDArray.cc (FloatNDArray::isnan, FloatNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1592 FloatNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1593 * fNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1594 * CNDArray.cc (ComplexNDArray::isnan, ComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1595 ComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1596 * CNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1597 * fCNDArray.cc (FloatComplexNDArray::isnan, FloatComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1598 FloatComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1599 * fCNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1600 * lo-mappers.h (xisnan, xisinf, xfinite): If possible, use definitions |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1601 from <cmath>. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1602 |
9501 | 1603 2009-03-18 Jaroslav Hajek <highegg@gmail.com> |
8995
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
1604 |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
1605 * oct-norm.cc (get_eps): Remove that hack. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
1606 (higham): Use std::numeric_limits instead. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
1607 Include OCTAVE_QUIT. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
1608 |
8987
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1609 2009-03-16 Jason Riedy <jason@acm.org> |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1610 |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1611 * Sparse.cc (transpose): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1612 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1613 * CSparse.cc (hermitian): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1614 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1615 |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
1616 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
1617 |
8983
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
1618 * mx-op-decl.h (NDS_BOOL_OP_DECLS, SND_BOOL_OP_DECLS, NDND_BOOL_OP_DECLS): Support compound binary ops. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
1619 * mx-op-defs.h (NDS_BOOL_OPS, SND_BOOL_OPS, NDND_BOOL_OPS): Ditto. Optimize. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
1620 * mx-op-defs.h (NDS_CMP_OP, SND_CMP_OP, NDND_CMP_OP): Optimize. |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
1621 |
8981
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1622 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1623 |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1624 * fNDArray.h (FloatMatrix::matrix_value): Fix return type. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1625 * dNDArray.cc (Matrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1626 * fNDArray.cc (FloatMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1627 * CNDArray.cc (ComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1628 * fCNDArray.cc (FloatComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1629 |
8971 | 1630 2009-03-13 Jaroslav Hajek <highegg@gmail.com> |
1631 | |
1632 * Range.h (Range::Range (double, double, octave_idx_type)): Remove | |
1633 constructor body. | |
1634 * Range.cc: Move it here. Check for invalid range op results. | |
1635 (all operators): Validate cache for invalid range op results. | |
8972
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
1636 * idx-vector.h (idx_vector::index): Optimize zero-step range case. |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
1637 * idx-vector.cc (idx_vector::maybe_reduce): Always reduce colon in |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
1638 singleton dimension. |
8971 | 1639 |
8969
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1640 2009-03-10 Jason Riedy <jason@acm.org> |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1641 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1642 * sparse-base-lu.cc (Pr_mat): New member function. Return the row |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1643 permutation as a PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1644 (Pc_mat): New member function. Return the col permutation as a |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1645 PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1646 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1647 * sparse-base-lu.h (sparse_base_lu): Declare Pc_mat and Pr_mat |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1648 member functions. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1649 |
8966
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1650 2009-03-09 Jason Riedy <jason@acm.org> |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1651 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1652 * Sparse-diag-op-defs.h (octave_impl::inner_do_add_sm_dm): New |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1653 template function. Implementation for adding sparse and diagonal |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1654 matrices. Takes two functional arguments, opa and opd, to |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1655 generate both subtraction variants. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1656 (octave_impl::do_commutative_add_dm_sm): New template function. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1657 Ensure A+D and D+A use the same generated code. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1658 (octave_impl::do_add_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1659 arguments for diag + sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1660 (octave_impl::do_sub_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1661 arguments for diag - sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1662 (octave_impl::do_add_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1663 arguments for sparse + diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1664 (octave_impl::do_sub_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1665 arguments for sparse - diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1666 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1667 * dSparse.h (operator +): Declare overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1668 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1669 (operator -): Declare overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1670 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1671 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1672 * dSparse.cc (operator +): Define overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1673 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1674 (operator -): Define overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1675 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1676 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1677 * CSparse.h (operator +): Declare overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1678 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1679 (operator -): Declare overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1680 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1681 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1682 * CSparse.cc (operator +): Define overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1683 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1684 (operator -): Define overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1685 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1686 |
8964
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1687 2009-03-08 Jason Riedy <jason@acm.org> |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1688 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1689 * Sparse-diag-op-defs.h (octave_impl::do_mul_dm_sm) |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1690 (octave_impl::do_mul_sm_dm): New template |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1691 functions. Implementations for sparse * diag and diag * sparse. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1692 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1693 * CSparse.h (operator *, trans_mul, herm_mul): Add overloads for |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1694 DiagMatrix and ComplexDiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1695 * CSparse.cc (operator *, trans_mul, herm_mul): Implement |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1696 operations by calling approprate functions in |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1697 Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1698 * dSparse.h (operator *, trans_mul): Add overloads for DiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1699 * dSparse.cc (operator *, trans_mul): Implement operations by |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1700 calling approprate functions in Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1701 |
8963
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
1702 2009-03-12 John W. Eaton <jwe@octave.org> |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
1703 |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
1704 * oct-inttypes.h (bitshift): Apply mask even if not shifting. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
1705 From Seb Astien <se6astien2@googlemail.com>. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
1706 |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
1707 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
1708 |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
1709 * PermMatrix.cc (PermMatrix::power): New method. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
1710 * PermMatrix.h: Declare it. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
1711 |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1712 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1713 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1714 * dNDArray.cc (NDArray::NDArray (const charNDArray&)): New |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1715 constructor. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1716 * fNDArray.cc (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1717 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1718 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1719 Ditto. |
9967 | 1720 * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1721 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1722 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1723 * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1724 * fNDArray.h (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1725 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1726 * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1727 Ditto. |
9967 | 1728 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1729 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1730 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1731 * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1732 chars. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1733 * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1734 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1735 Likewise. |
9967 | 1736 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1737 (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1738 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
1739 2009-03-10 Jason Riedy <jason@acm.org> |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
1740 |
8968
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1741 * Sparse-perm-op-defs.h (octinternal_do_mul_colpm_sm): New |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1742 template function. Logic for the column permutation * sparse |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1743 matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1744 (octinternal_do_mul_pm_sm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1745 permutation matrix * sparse matrix operator. Note that there is |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1746 no special row perm * sparse routine; the permutation is inverted |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1747 and the col perm routine is called. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1748 (octinternal_do_mul_sm_rowpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1749 the sparse matrix * row permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1750 (octinternal_do_mul_sm_colpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1751 the sparse matrix * column permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1752 (octinternal_do_mul_sm_pm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1753 sparse matrix * permutation matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1754 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1755 * dSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1756 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1757 * dSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1758 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1759 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1760 * CSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1761 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1762 * CSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1763 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1764 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1765 2009-03-10 Jason Riedy <jason@acm.org> |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1766 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
1767 * sparse-base-lu.cc (Pc_vec): The column permutation should be |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
1768 Ufact.cols ()-long, not Lfact.rows ()-long. |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
1769 |
8951
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1770 2009-03-10 Jason Riedy <jason@acm.org> |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1771 |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1772 * dSparse.cc (SparseMatrix::SparseMatrix (const PermMatrix&)): |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1773 Fix conversion to add values to the matrix as well as getting |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1774 structure correct. |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1775 |
8950
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1776 2009-03-10 John W. Eaton <jwe@octave.org> |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1777 |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1778 * Array.h, ArrayN.h, Bounds.h, CmplxAEPBAL.h, CmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1779 CmplxGEPBAL.h, CmplxHESS.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1780 CmplxSVD.h, CollocWt.h, EIG.h, FEGrid.h, LinConst.h, Range.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1781 Sparse.h, SparseCmplxQR.h, SparseQR.h, dbleAEPBAL.h, dbleCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1782 dbleGEPBAL.h, dbleHESS.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1783 dbleSVD.h, dim-vector.h, fCmplxAEPBAL.h, fCmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1784 fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxQR.h, fCmplxQRP.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1785 fCmplxSCHUR.h, fCmplxSVD.h, fEIG.h, floatAEPBAL.h, floatCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1786 floatGEPBAL.h, floatHESS.h, floatQR.h, floatQRP.h, floatSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1787 floatSVD.h, idx-vector.h, lo-utils.h, oct-inttypes.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1788 oct-spparms.h, str-vec.h: Include <iosfwd> instead of <iosstream>. |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1789 |
8949
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1790 2009-03-10 Jaroslav Hajek <highegg@gmail.com> |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1791 |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1792 * mx-inlines.cc (OP_CUMMINMAX_FCN2): r -> r0 where appropriate. |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1793 |
8934
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1794 2009-03-08 Jaroslav Hajek <highegg@gmail.com> |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1795 |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1796 * idx-vector.h (idx_vector::bloop): loop --> bloop. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1797 (idx_vector::loop): New method. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1798 * MArray.cc (MArray<T>::idx_add (cons idx_vector&, T)) |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1799 (MArray<T>::idx_add (cons idx_vector&, const MArray<T>&)): New methods. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1800 * MArray.h: Declare them. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1801 |
8918
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1802 2009-03-05 Jason Riedy <jason@acm.org> |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1803 |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1804 * Sparse.h (Sparse<T>::elt_type): Remove typedef, replace with: |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1805 * Sparse.h (Sparse<T>::element_type): Add typedef to be consistent |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1806 with Array.h |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1807 * DiagArray2.h (DiagArray2<T>::elt_type): Likewise, removed. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1808 * DiagArray2.h (DiagArray2<T>::element_type): Define by using |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1809 Array<T>::element_type. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1810 * intNDArray.h (intNDArray<T>::element_type): Remove, inherited |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1811 from MArrayN<T>. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1812 |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1813 2009-03-05 Jaroslav Hajek <highegg@gmail.com> |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1814 |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1815 * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1816 constructor. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1817 (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. |
9967 | 1818 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1819 Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1820 |
8908
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1821 2009-03-04 Jaroslav Hajek <highegg@gmail.com> |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1822 |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1823 * PermMatrix.h (PermMatrix::elem): Fix comparisons. |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1824 |
8904
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
1825 2009-03-03 Jaroslav Hajek <highegg@gmail.com> |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
1826 |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
1827 * lo-mappers.cc (xmin (float, float), xmax (float, float)): Simplify. |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
1828 |
8897 | 1829 2009-03-02 Jaroslav Hajek <highegg@gmail.com> |
1830 | |
1831 * mx-inlines.cc: Add missing #include. | |
1832 | |
8873
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
1833 2009-02-25 John W. Eaton <jwe@octave.org> |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
1834 |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
1835 * Makefile.in: Make maintainer-clean and distclean the same. |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
1836 |
8864 | 1837 2009-02-25 Jaroslav Hajek <highegg@gmail.com> |
1838 | |
1839 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): | |
1840 Simplify. | |
1841 | |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1842 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1843 |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1844 * oct-inttypes.h (octave_int_cmp_op::mop): Implement as simple |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1845 forwarders when OCTAVE_INT_USE_LONG_DOUBLE is not defined. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1846 (octave_int_cmp_op::emulate_mop): New static overloaded template |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1847 member function. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1848 * oct-inttypes.cc: Turn the octave_int_cmp_op::mop definitions into |
9967 | 1849 defs for octave_int_cmp_op::emulate_mop. |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1850 (INSTANTIATE_INT64_DOUBLE_CMP_OP0): Instantiate |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1851 octave_int_cmp_op::emulate_op instead. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1852 |
8840
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1853 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1854 |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1855 * dDiagMatrix.cc (DiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1856 * dDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1857 * fDiagMatrix.cc (FloatDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1858 * fDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1859 * CDiagMatrix.cc (ComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1860 * CDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1861 * fCDiagMatrix.cc (FloatComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1862 * fCDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1863 |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1864 2009-02-20 Jaroslav Hajek <highegg@gmail.com> |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1865 |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1866 * oct-sort.h (octave_sort<T>::MergeState::MergeState): New |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1867 constructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1868 (octave_sort<T>::MergeState::~MergeState): New destructor. |
9967 | 1869 (octave_sort<T>::MergeState::reset, |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1870 octave_sort<T>::MergeState::getmem, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1871 octave_sort<T>::MergeState::getmemi): New methods. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1872 (octave_sort<T>::sort, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1873 octave_sort<T>::merge_lo, octave_sort<T>::merge_hi |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1874 octave_sort<T>::merge_at): Reflect change. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1875 |
8814
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1876 2009-02-19 Jaroslav Hajek <highegg@gmail.com> |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1877 |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1878 * oct-types.h (sortmode): Move enum here. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1879 * oct-sort.h (octave_sort<T>::ms): Declare as pointer. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1880 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1881 * oct-sort.cc: Reflect change to ms. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1882 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1883 (out_of_range_pred): New helper class. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1884 (out_of_range): New helper function. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1885 * oct-lookup.h: Remove file. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1886 * Array.cc (Array<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1887 * Array.h: Declare it. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1888 |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1889 2009-02-18 John W. Eaton <jwe@octave.org> |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1890 |
8811 | 1891 * dbleQR.cc (QR::init, QR::form): Cast int to octave_idx_type in |
1892 call to std::max. | |
1893 * floatQR.cc (FloatQR::init, FloatQR::form): Ditto. | |
1894 * CmplxQR.cc (ComplexQR::init, ComplexQR::form): Ditto. | |
1895 * fCmplxQR.cc (FloatComplexQR::init, FloatComplexQR::form): Ditto. | |
1896 | |
1897 * dbleQRP.cc (QRP::init): Cast int to octave_idx_type in call to | |
1898 std::max and as operand to -= operator. | |
1899 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
1900 * floatQRP.cc (FloatQRP::init): Ditto. | |
1901 * fCmplxQRP.cc (FloatComplexQRP::init): Ditto. | |
1902 | |
1903 * CDiagMatrix.cc, CDiagMatrix.h (ComplexDiagMatrix::inverse): | |
1904 Declare info as octave_idx_type, not int. | |
1905 * dDiagMatrix.cc, dDiagMatrix.h (DiagMatrix::inverse): Ditto. | |
1906 * fDiagMatrix.cc, fCDiagMatrix.h (FloatDiagMatrix::inverse): Ditto. | |
1907 * fCDiagMatrix.cc, fCDiagMatrix.h (FloatComplexDiagMatrix::inverse): | |
1908 Ditto. | |
1909 | |
8806 | 1910 * dMatrix.cc (Matrix::determinant): |
1911 Declare local variables volatile as needed to avoid "maybe | |
1912 clobbered by vfork" warning from GCC. | |
1913 * fMatrix.cc (FloatMatrix::determinant): Likewise. | |
1914 * CMatrix.cc (ComplexMatrix::determinant): Likewise. | |
1915 * fCMatrix.cc (FloatComplexMatrix::determinant): Likewise. | |
1916 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col): Likewise. | |
1917 * floatQR.cc (FloatQR::update, FloatQR::insert_col, | |
1918 FloatQR::delete_col): Likewise. | |
1919 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, | |
1920 ComplexQR::delete_col): Likewise. | |
1921 * fCmplxQR.cc (FloatComplexQR::update, FloatComplexQR::insert_col, | |
1922 FloatComplexQR::delete_col): Likewise. | |
1923 | |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1924 * dMatrix.cc (padec, solve_singularity_warning): Delete unused |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1925 static variable and function. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1926 * CMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1927 * fMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1928 * fCMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1929 |
8799
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
1930 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
1931 |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
1932 * Array.cc (Array<T>::resize (const dim_vector&)): Check for negative |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
1933 dimensions. |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
1934 |
8797
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
1935 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
1936 |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
1937 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
1938 Use octave_int comparisons to avoid warning for unsigned types. |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
1939 |
8784
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
1940 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
1941 |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
1942 * Array.cc (Array<T>::resize (const dim_vector&)): Remove dead branch. |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
1943 |
8780
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1944 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1945 |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1946 * mx-inlines.cc (OP_CUM_FCN, OP_CUM_FCN2, OP_CUM_FCNN): |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1947 Add TSRC/TRES parameters. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1948 (mx_inline_cumcount): New function. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1949 * intNDArray.cc (intNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1950 * intNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1951 * boolNDArray.cc (boolNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1952 * boolNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1953 |
8777
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1954 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1955 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1956 * mx-inlines.cc (OP_CUMMINMAX_FCN, OP_CUMMINMAX_FCN2, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1957 OP_CUMMINMAX_FCNN): New macros. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1958 (mx_inline_cummax, mx_inline_cummin, do_mx_cumminmax_op): |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1959 New overloaded template functions. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1960 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1961 * dNDArray.cc (NDArray::cummin, NDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1962 * dNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1963 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1964 * fNDArray.cc (FloatNDArray::cummin, FloatNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1965 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1966 * fNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1967 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1968 * CNDArray.cc (ComplexNDArray::cummin, ComplexNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1969 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1970 * CNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1971 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1972 * fCNDArray.cc (FloatComplexNDArray::cummin, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1973 FloatComplexNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1974 * fCNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1975 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1976 * intNDArray.cc (intNDArray::cummin, intNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1977 * intNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1978 |
8776
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
1979 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
1980 |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
1981 * mx-inlines.cc (OP_MINMAX_FCN): Correct behaviour with NaNs. |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
1982 |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1983 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1984 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1985 * MArray-defs.h: Move declarative part to MArray-decl.h |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1986 * MArray-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1987 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1988 * mx-op-defs.h: Move declarative part to mx-op-decl.h. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1989 * mx-op-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1990 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1991 * Makefile.in: Include new sources in build. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1992 * mk-ops.awk: Include mx-op-decl.h in headers, mx-op-defs in .cc |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1993 files. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1994 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1995 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, MArray.h, MArray2.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1996 MArrayN.h, MDiagArray2.h, boolMatrix.cc, boolMatrix.h, boolNDArray.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1997 boolNDArray.h, chMatrix.cc, chMatrix.h, chNDArray.cc, chNDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1998 dMatrix.cc, dMatrix.h, dNDArray.cc, dNDArray.h, fCMatrix.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1999 fCMatrix.h, fCNDArray.cc, fCNDArray.h, fMatrix.cc, fMatrix.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2000 fNDArray.cc, fNDArray.h, int16NDArray.cc, int16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2001 int32NDArray.cc, int32NDArray.h, int64NDArray.cc, int64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2002 int8NDArray.cc, int8NDArray.h, uint16NDArray.cc, uint16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2003 uint32NDArray.cc, uint32NDArray.h, uint64NDArray.cc, uint64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2004 uint8NDArray.cc, uint8NDArray.h: Ditto. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2005 |
8760
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2006 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2007 |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2008 * Array.cc (Array<T>::assign (const idx_vector& i, |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2009 const idx_vector& j,...)): Fix invalid dimension inquiry. |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2010 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2011 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2012 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2013 * mx-inlines.cc (OP_ROW_SHORT_CIRCUIT): New macro. |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2014 (mx_inline_any, mx_inline_all): Override row-reduction case. |
8759
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
2015 (MX_CUMULATIVE_OP, MX_BASE_REDUCTION_OP, MX_REDUCTION_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
2016 MX_ANY_OP, MX_ALL_OP, MX_ND_ANY_ALL, MX_ND_REDUCTION, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
2017 MX_ND_COMPLEX_OP_REDUCTION, MX_ND_CUMULATIVE_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
2018 MX_ND_ANY_EVAL, MX_ND_ALL_EVAL, MX_ND_REAL_OP_REDUCTION): |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
2019 Remove unused macros. |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2020 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2021 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2022 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2023 * mx-inlines.cc (OP_RED_FCNN): Use explicit type qualification. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2024 (mx_inline_count): New overloaded template function. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2025 * boolNDArray.h (boolNDArray::sum): Return NDArray. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2026 * boolNDArray.cc (boolNDArray::sum): Return NDArray, use do_mx-red_op. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2027 |
8752
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2028 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2029 |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2030 * Array-C.cc, Array-fC.cc: Don't redefine complex comparison. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2031 * Sparse.cc (Sparse::sort): Don't use vec_index. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2032 * Sparse-C.cc, Sparse-d.cc, Sparse-b.cc: Don't reinstantiate |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2033 octave_sort, reflect changes. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2034 * sparse-sort.cc: Explicitly instantiate octave_sort for requested |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2035 pointer types. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2036 |
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2037 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2038 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2039 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2040 * mx-inlines.cc (OP_MINMAX_FCN, OP_MINMAX_FCN2, OP_MINMAX_FCNN): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2041 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2042 (mx_inline_min, mx_inline_max, do_mx_minmax_op): New overloaded |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2043 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2044 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2045 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2046 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2047 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2048 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2049 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2050 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2051 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2052 * chMatrix.cc (charMatrix::all, charMatrix::any): Use do_mx_red_op. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2053 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2054 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2055 2009-02-16 John W. Eaton <jwe@octave.org> |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2056 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2057 * cmd-edit.cc (default_command_editor::do_readline): |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2058 Use fputs instead of fprintf. |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2059 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2060 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2061 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2062 * mx-inlines.cc (OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2063 OP_CUM_FCN2, OP_CUM_FCNN): Include TRET parameter. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2064 (OP_RED_ANYC, OP_RED_ANYR, OP_RED_ALLC, OP_RED_ALLR): New macros. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2065 (is_true, is_false): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2066 (mx_inline_any, mx_inline_all): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2067 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2068 * dMatrix.cc (Matrix::any, Matrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2069 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2070 * fMatrix.cc (FloatMatrix::any, FloatMatrix::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2071 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2072 * CMatrix.cc (ComplexMatrix::any, ComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2073 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2074 * fCMatrix.cc (FloatComplexMatrix::any, FloatComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2075 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2076 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2077 * dNDArray.cc (NDArray::any, NDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2078 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2079 * fNDArray.cc (FloatNDArray::any, FloatNDArray::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2080 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2081 * CNDArray.cc (ComplexNDArray::any, ComplexNDArray::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2082 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2083 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2084 Use do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2085 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2086 * intNDArray.cc (intNDArray::any, intNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2087 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2088 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2089 * boolNDArray.cc (boolNDArray::any, boolNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2090 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2091 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2092 * boolMatrix.cc (boolMatrix::any, boolMatrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2093 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2094 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2095 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2096 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2097 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2098 (intNDArray::sum): Use mx_do_red_op (..., mx_inline_sum). |
8742
d2b06871afac
add missing return statement
Jaroslav Hajek <highegg@gmail.com>
parents:
8741
diff
changeset
|
2099 * Range.cc (Range::is_sorted): Add missing return statement. |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2100 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2101 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2102 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2103 * mx-inlines.cc (OP_RED_SUM, OP_RED_PROD, OP_RED_SUMSQ, OP_RED_SUMSQC, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2104 OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, OP_CUM_FCN2, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2105 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2106 (mx_inline_sum, mx_inline_prod, mx_inline_sumsq, mx_inline_cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2107 mx_inline_cumprod, get_extent_triplet, do_mx_red_op, do_mx_cum_op): |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2108 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2109 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2110 Matrix::sum, Matrix::sumsq): Use do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2111 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2112 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2113 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2114 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2115 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2116 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2117 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2118 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2119 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2120 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2121 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2122 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2123 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2124 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2125 (octave_int_base::truncate_int): Use if_then_else. |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2126 |
8725 | 2127 2009-02-12 John W. Eaton <jwe@octave.org> |
2128 | |
2129 * lo-traits.h: New file. | |
2130 * Makefile.in (INCLUDES): Add it to the list. | |
2131 | |
2132 * Array.h (compare_fcn_type): New typedef. | |
2133 * oct-sort.h (compare_fcn_type): Ditto. | |
2134 | |
2135 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
9967 | 2136 octave_sort<T>::set_compare, octave_sort<T>::compare): |
8725 | 2137 Use typedef to simplify decl. |
2138 (octave_sort<T>::ascending_compare, | |
2139 octave_sort<T>::descending_compare): | |
2140 Use ref_param<T>::type for parameter decl. | |
2141 | |
2142 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
2143 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
2144 | |
2145 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
2146 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
2147 all uses. Use typedef for return value to simplify decl. | |
2148 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
2149 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
2150 of sortrows_comparator. | |
2151 | |
2152 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
2153 descending_compare, nan_ascending_compare, | |
2154 nan_descending_compare): | |
2155 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2156 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2157 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2158 * oct-sort.cc (octave_sort<T>::is_sorted, octave_sort<T>::sort_rows, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2159 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2160 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2161 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2162 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2163 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2164 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2165 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2166 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2167 * dim-vector.h (dim_vector::is_vector): New method. |
9967 | 2168 * Array-C.cc, Array-fC.cc: Override _sort_isnan, don't check for |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2169 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2170 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2171 * Array-d.cc, Array-f.cc: Provide NaN-safe comparators, override |
9967 | 2172 _sortrows_comparator. |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2173 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2174 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2175 |
8700 | 2176 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
2177 | |
2178 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
2179 inlined comparison functor and by-the-way indexed sorting. | |
2180 * oct-sort.h (octave_sort<T>): Update interface. | |
2181 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
2182 mechanism. | |
2183 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
2184 Array-i.cc: Reflect changes. | |
2185 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2186 2009-02-05 John W. Eaton <jwe@octave.org> |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2187 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
2188 * file-stat.cc (base_file_stat::is_sock): |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
2189 Use EXISTS instead of OK in previous change. |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
2190 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2191 * file-stat.cc (base_file_stat::is_blk, base_file_stat::is_chr, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2192 base_file_stat::is_dir, base_file_stat::is_fifo, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2193 base_file_stat::is_lnk, base_file_stat::is_reg, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2194 base_file_stat::is_sock): Return false if object is not initialized. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2195 From Rafael Laboissiere <rafael@debian.org>. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2196 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2197 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2198 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2199 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2200 idx_vector::idx_scalar_rep, idx_vector::idx_range_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2201 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2202 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2203 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2204 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2205 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2206 * str-vec.h (string_vector::sort): Remove implementation. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2207 * str-vec.cc (string_vector::sort): Move here. Use in-place sorting. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2208 * Array-str.cc: Fix order of header files. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2209 * oct-sort.cc (octave_sort<T>::merge_hi): std::copy -> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2210 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2211 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2212 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2213 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2214 * Array-util.cc (zero_dims_inquire): Eliminate unused variable MATCH. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2215 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2216 * Sparse.cc (assign (Sparse<LT>& lhs, const Sparse<RT>& rhs)): |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2217 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2218 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2219 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2220 MArray<FloatComplex>::norm (float p) const): Pass P to xnorm. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2221 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2222 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2223 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2224 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2225 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2226 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2227 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2228 * oct-locbuf.h: Specialize OCTAVE_LOCAL_BUFFER to use chunked |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2229 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2230 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
2231 2009-02-03 Benjamin Lindner <lindnerben@gmx.net> |
9967 | 2232 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
2233 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
2234 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2235 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2236 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2237 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2238 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2239 (Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2240 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2241 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2242 * Array-d.cc (Array<double>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2243 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2244 (Array<double>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2245 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2246 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2247 * Array-f.cc (Array<float>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2248 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2249 (Array<float>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2250 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2251 |
8650
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2252 2009-02-02 Jaroslav Hajek <highegg@gmail.com> |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2253 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2254 * mx-inlines.cc (mx_inline_fabs_dup, mx_inline_cabs_dup): New funcs. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2255 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2256 * dMatrix.cc (real, imag, Matrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2257 * fMatrix.cc (real, imag, FloatMatrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2258 * CMatrix.cc (ComplexMatrix::abs, ComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2259 * fCMatrix.cc (FloatComplexMatrix::abs, FloatComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2260 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2261 * CMatrix.h, fCMatrix.h (conj): Add missing decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2262 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2263 * dNDArray.cc (real, imag, NDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2264 * fNDArray.cc (real, imag, FloatNDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2265 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2266 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2267 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2268 * CMatrix.h, fCMatrix.h (conj): New decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2269 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2270 2009-01-29 John W. Eaton <jwe@octave.org> |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2271 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2272 * intNDArray.h (intNDArray<T>:any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2273 * boolNDArrah.h (boolNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2274 * chNDArray.h (charNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2275 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2276 2009-01-28 John W. Eaton <jwe@octave.org> |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2277 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2278 * Makefile.in (LIBRARIES, install, uninstall): Use SHLLIBPRE |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2279 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2280 From Marco Atzeri <marco_atzeri@yahoo.it>. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2281 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2282 2009-01-28 Jaroslav Hajek <highegg@gmail.com> |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2283 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2284 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 2285 (Matrix::Matrix (const ColumnVector&)): Ditto. |
2286 (Matrix::row): Ditto. | |
2287 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2288 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2289 * fMatrix.cc (FloatMatrix::FloatMatrix (const FloatRowVector&)): Use |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2290 shallow copy. |
8628 | 2291 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
2292 (FloatMatrix::row): Ditto. | |
2293 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2294 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2295 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2296 Use shallow copy. |
8628 | 2297 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
2298 (ComplexMatrix::row): Ditto. | |
2299 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2300 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2301 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2302 Use shallow copy. |
8628 | 2303 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
2304 (FloatComplexMatrix::row): Ditto. | |
2305 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2306 |
8607
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
2307 2009-01-27 Benjamin Lindner <lindnerb@users.sourceforge.net> |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
2308 |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
2309 * Makefile.in (LINK_DEPS): Include ARPACK_LIBS and REGEX_LIBS in |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
2310 the list. |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
2311 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2312 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2313 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2314 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2315 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2316 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2317 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2318 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2319 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2320 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2321 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2322 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2323 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2324 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2325 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2326 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2327 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2328 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2329 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2330 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2331 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2332 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2333 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2334 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2335 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2336 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2337 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2338 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2339 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2340 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2341 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2342 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2343 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2344 * Array.cc (Array<T>::assign (const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2345 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2346 (Array<T>::assign (const idx_vector&, const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2347 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2348 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2349 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2350 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2351 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 2352 * ArrayN.h (ArrayN<T>::index): Ditto. Declare index vectors as const |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2353 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2354 |
8565 | 2355 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
2356 | |
2357 * Range.cc (sort_internal): Add missing test. | |
2358 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2359 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2360 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2361 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2362 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2363 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2364 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2365 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2366 * dbleQR.h: Optionally declare warn_qrupdate_once. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2367 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2368 * (CmplxQR.h, dbleQR.h, fCmplxQR.h, floatQR.h): Declare replacement |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2369 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2370 * (CmplxQR.cc, dbleQR.cc, fCmplxQR.cc, floatQR.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2371 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2372 * (CmplxCHOL.h, dbleCHOL.h, fCmplxCHOL.h, floatCHOL.h): Declare |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2373 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2374 * (CmplxCHOL.cc, dbleCHOL.cc, fCmplxCHOL.cc, floatCHOL.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2375 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2376 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2377 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2378 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2379 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2380 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2381 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2382 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2383 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2384 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2385 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2386 |
8549 | 2387 2009-01-20 John W. Eaton <jwe@octave.org> |
2388 | |
2389 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
2390 (class file_stat): Derive from base_file_stat. | |
2391 (class file_fstat): New class, derived from base_file_stat. | |
2392 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2393 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2394 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2395 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2396 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2397 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2398 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2399 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2400 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2401 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2402 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2403 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2404 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2405 QR::delete_col, QR::delete_row, QR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2406 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2407 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2408 (QR::update, QR::insert_col, QR::insert_row, QR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2409 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2410 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2411 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2412 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2413 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2414 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2415 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2416 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2417 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2418 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2419 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2420 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2421 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2422 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2423 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2424 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2425 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2426 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2427 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2428 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2429 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2430 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2431 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2432 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2433 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2434 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2435 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2436 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2437 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2438 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2439 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2440 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2441 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2442 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2443 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2444 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2445 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2446 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2447 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
9967 | 2448 FloatComplexCHOL::insert_sym): Update interfaces. |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2449 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2450 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2451 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2452 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2453 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2454 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2455 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2456 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2457 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2458 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2459 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2460 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
2461 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
2462 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
2463 * Array.h (Array<T>): Document internal use of slice_data and |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
2464 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
2465 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2466 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2467 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2468 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2469 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2470 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2471 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2472 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2473 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2474 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2475 * Array.h (Array<T>::rep, Array<T>::dimensions): Make protected. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2476 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 2477 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2478 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2479 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2480 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2481 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2482 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2483 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2484 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2485 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2486 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2487 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2488 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2489 * Array.cc, Array.h (all Array<T> constructors): Handle slice_data and |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2490 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2491 (Array<T>::Array<T> (const Array<T>&, const dim_vector&, |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2492 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2493 (Array<T>::index): Use shallow copy when index reduces to a contiguous |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2494 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2495 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2496 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2497 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2498 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2499 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2500 |
8521 | 2501 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
2502 | |
2503 * oct-md5.cc: Include <cstdio>. | |
2504 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2505 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2506 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2507 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2508 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2509 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2510 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2511 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2512 (string_vector::qsort): Rename to sort, call Array::sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2513 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
2514 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
2515 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
2516 * eigs-base.cc: New file with template wrapper for ARPACK. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
2517 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
2518 |
8410 | 2519 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
2520 | |
2521 * Array.cc (rec_permute_helper): New class. | |
2522 (Array<T>::permute): Rewrite using the recursive algorithm. | |
2523 | |
8403 | 2524 2008-12-12 David Bateman <dbateman@free.fr> |
2525 | |
9967 | 2526 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky |
8403 | 2527 factorization. |
9967 | 2528 |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2529 2008-12-12 Jaroslav Hajek <highegg@gmail.com> |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2530 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2531 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2532 * oct-locbuf.h (octave_chunk_buffer): New class. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2533 (octave_local_buffer): Subclass from octave_chunk_buffer for selected |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2534 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2535 |
8397 | 2536 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
2537 | |
2538 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
2539 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2540 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2541 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2542 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2543 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2544 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2545 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2546 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2547 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2548 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2549 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2550 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2551 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2552 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2553 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2554 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2555 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2556 |
9967 | 2557 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2558 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2559 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2560 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2561 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2562 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2563 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
2564 2008-12-09 David Bateman <dbateman@free.fr> |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
2565 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
2566 * Makefile.in (INCLUDES): Add oct-locbuf.h |
9967 | 2567 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2568 2008-12-07 Jaroslav Hajek <highegg@gmail.com> |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2569 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2570 * mx-inlines.cc (mx_inline_fill_vs): New template function. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2571 * mx-op-defs.h (everywhere): Replace int by octave_idx_type. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2572 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 2573 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2574 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2575 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2576 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
2577 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
2578 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
2579 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
2580 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2581 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2582 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2583 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2584 * Array-d.cc, Array-f.cc, Array.cc, CMatrix.cc, CNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2585 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2586 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2587 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2588 data-conv.cc, dbleCHOL.cc, dbleGEPBAL.cc, fCMatrix.cc, fCNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2589 fCmplxCHOL.cc, fCmplxGEPBAL.cc, fMatrix.cc, fNDArray.cc, file-ops.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2590 floatCHOL.cc, floatGEPBAL.cc, lo-sysdep.cc, oct-fftw.cc, oct-md5.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2591 oct-rand.cc, regex-match.cc, sparse-dmsolve.cc: Include oct-locbuf.h. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2592 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2593 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2594 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2595 * DiagArray2.h (DiagArray2<T>): Inherit Array<T> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2596 (DiagArray2<T>::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2597 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2598 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2599 * DiagArray2.cc (DiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2600 * MDiagArray2.h (MDiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2601 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2602 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2603 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2604 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2605 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2606 * PermMatrix.h (PermMatrix): Inherit Array<octave_idx_type> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2607 (PermMatrix::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2608 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2609 |
9967 | 2610 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2611 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2612 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2613 * dDiagMatrix.cc (DiagMatrix::determinant, DiagMatrix::rcond): New |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2614 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2615 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2616 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2617 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2618 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2619 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2620 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2621 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2622 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2623 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2624 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2625 |
8369 | 2626 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
2627 | |
2628 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
2629 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
2630 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
2631 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
2632 * dbleQRP.cc (QRP::QRP): Call DGEQP3 rather than DGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
2633 * floatQRP.cc (FloatQRP::FloatQRP): Call SGEQP3 rather than SGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
2634 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Call ZGEQP3 rather than ZGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
2635 * fCmplxQRP.cc (FloatComplexQRP::FloatComplexQRP): Call CGEQP3 rather than CGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
2636 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2637 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2638 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2639 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2640 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2641 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2642 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2643 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2644 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2645 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2646 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2647 * base-lu.h (base_lu): Delcare P as PermMatrix. Remove unused template |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2648 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2649 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2650 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2651 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2652 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2653 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2654 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2655 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2656 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2657 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2658 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2659 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2660 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2661 * DiagArray2.h (DiagArray2<T>::DiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2662 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2663 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2664 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2665 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2666 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2667 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2668 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2669 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2670 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2671 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2672 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2673 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2674 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2675 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2676 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2677 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2678 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2679 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2680 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2681 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2682 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2683 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2684 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2685 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2686 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2687 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2688 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2689 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2690 New functions. |
9967 | 2691 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2692 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2693 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2694 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2695 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2696 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2697 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2698 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2699 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2700 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2701 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2702 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2703 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2704 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2705 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2706 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2707 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2708 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2709 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2710 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2711 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2712 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2713 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2714 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2715 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2716 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2717 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2718 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2719 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2720 |
9967 | 2721 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2722 New constructor. |
9967 | 2723 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2724 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2725 * mx-op-defs.h (DMM_MULTIPLY_OP, MDM_MULTIPLY_OP): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2726 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2727 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2728 |
9967 | 2729 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2730 bool calc_eigenvectors = true)): New constructor. |
9967 | 2731 (EIG::EIG (const Matrix& a, const Matrix& b, octave_idx_type& info, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2732 bool calc_eigenvectors = true)): New constructor. |
9967 | 2733 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2734 bool calc_eigenvectors = true)): New constructor. |
9967 | 2735 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
2736 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2737 constructor. |
9967 | 2738 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2739 bool calc_eigenvectors)): New function. |
9967 | 2740 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2741 bool calc_eigenvectors)): New function. |
9967 | 2742 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2743 bool calc_eigenvectors)): New function. |
9967 | 2744 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2745 bool calc_eigenvectors)): New function. |
9967 | 2746 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2747 bool calc_eigenvectors = true)): New constructor. |
9967 | 2748 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
2749 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2750 constructor. |
9967 | 2751 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
2752 bool calc_eigenvectors = true)): New constructor. | |
2753 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, | |
2754 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2755 constructor. |
9967 | 2756 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2757 bool calc_eigenvectors)): New function. |
9967 | 2758 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2759 bool calc_eigenvectors)): New function. |
9967 | 2760 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2761 bool calc_eigenvectors)): New function. |
9967 | 2762 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2763 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2764 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2765 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2766 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2767 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2768 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2769 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2770 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2771 Use atmp(i,i) instead of elem(i,i). |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2772 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2773 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2774 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2775 * DET.h (base_det<T>::square): New member function. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2776 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2777 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2778 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2779 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2780 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2781 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update decls. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2782 |
8335 | 2783 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
2784 | |
2785 * DET.h: New source. | |
2786 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
2787 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
2788 * Makefile.in: Reflect changes. | |
2789 * mx-defs.h: Remove DET decls. | |
2790 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
2791 dSparse.h, CSparse.h: Include only DET.h. | |
2792 * dMatrix.cc (Matrix::determinant), | |
2793 fMatrix.cc (FloatMatrix::determinant), | |
2794 CMatrix.cc (ComplexMatrix::determinant), | |
2795 fCMatrix.cc (FloatComplexMatrix::determinant), | |
2796 dSparse.cc (SparseMatrix::determinant), | |
2797 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
2798 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2799 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2800 |
9967 | 2801 * file-ops.cc (std::string file_ops::tilde_expand (const |
2802 std::string&)): Check if the string contains a tilde and fast | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2803 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2804 |
8326
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
2805 2008-11-17 John W. Eaton <jwe@octave.org> |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
2806 |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
2807 * dir-ops.cc (dir_entry::read): Use std::list<std::string> to |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
2808 cache names before converting to string_vector. |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
2809 |
8324 | 2810 2008-11-14 David Bateman <dbateman@free.fr> |
2811 | |
2812 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
2813 resize_fill_value. | |
2814 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2815 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2816 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2817 * MArray-C.cc, MArray-d.cc, MArray-f.cc, MArray-fC.cc: Declare |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2818 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2819 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2820 * idx-vector.h (class idx_vector::idx_base_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2821 idx_vector::idx_range_rep, class idx_vector::idx_colon_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2822 idx_vector::idx_scalar_rep, class idx_vector::idx_vector_rep): Add |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2823 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2824 * idx-vector.cc (idx_vector::idx_scalar_rep::idx_scalar_rep(T), |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2825 idx_vector::idx_vector_rep::idx_vector_rep(const Array<T>&)): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2826 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2827 * oct-inttypes.cc (powf(const octave_int<T>&,const float&)): Cast 'b' |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2828 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2829 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2830 * oct-norm.h (xnorm, xfrobnorm, xcolnorms, xrownorms): Add OCTAVE_API |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2831 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2832 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2833 |
9501 | 2834 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2835 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2836 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2837 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2838 |
9501 | 2839 2008-11-09 Jaroslav Hajek <highegg@gmail.com> |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
2840 |
9967 | 2841 * oct-norm.cc: Don't include Array.cc. |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
2842 (column_norms (const MArray2<T>&, ...)): Use std::vector instead of Array<T> for |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
2843 accumulator containers. Use empty constructor instead of |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
2844 Array<T>::resize. |
8628 | 2845 (row_norms (const MArray2<T>&, ...)): Ditto. |
2846 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
2847 (row_norms (const MSparse2<T>&, ...)): Ditto. | |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
2848 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2849 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2850 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2851 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2852 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2853 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2854 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2855 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2856 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2857 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2858 * dSparse.h (SparseMatrix): Declare them. |
9967 | 2859 * MArray-C.cc (MArray<Complex>::norm), |
2860 MArray-d.cc (MArray<double>::norm), | |
2861 MArray-fC.cc (MArray<FloatComplex>::norm), | |
2862 MArray-f.cc (MArray<float>::norm): Wrap a call to xnorm. | |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2863 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2864 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2865 |
9501 | 2866 2008-11-02 Jaroslav Hajek <highegg@gmail.com> |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
2867 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
2868 * idx-vector.cc (idx_vector::is_complement): Set resulting extent |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
2869 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
2870 * Array.cc (Array<T>::delete_elements (int, const idx_vector&)): |
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
2871 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
2872 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2873 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2874 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2875 * idx-vector.h (idx_vector::idx_range_rep::extent): Don't change |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2876 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2877 * idx-vector.h (idx_vector::idx_range_rep::idx_range_rep (void)): |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2878 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2879 |
9501 | 2880 2008-10-30 Jaroslav Hajek <highegg@gmail.com> |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
2881 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
2882 * oct-inttypes.h (octave_int_abs): New function. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
2883 (octave_int_arith_base<T, true>::div): Use octave_int_abs instead of |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
2884 std::abs. |
8628 | 2885 * oct-inttypes.cc (octave_int_arith_base<int64_t, true>): Ditto. |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
2886 |
9501 | 2887 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2888 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2889 * Array-C.cc Array-d.cc Array-f.cc Array-fC.cc Array-i.cc Array-s.cc: |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2890 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2891 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2892 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2893 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2894 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2895 * Array.cc (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2896 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2897 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2898 * Array.h (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2899 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2900 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2901 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2902 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2903 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2904 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2905 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2906 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2907 * dim-vector.h (dim_vector::any_neg, dim_vector::chop_all_singletons, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2908 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2909 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2910 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2911 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
2912 2008-10-29 Michael Goffioul <michael.goffioul@gmail.com> |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
2913 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
2914 * lo-specfun.cc (cbesj, cbesy, cbesi, cbesk, cbesh1, cbesh2): Do not |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
2915 use std::complex::real() and std::complex::imag() as l-value, this is |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
2916 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
2917 |
8279
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
2918 2008-10-28 John W. Eaton <jwe@octave.org> |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
2919 |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
2920 * lo-specfun.cc: Fix prototypes for the Fortran subroutines cbesh, |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
2921 cbesi, cbesj, cbesk, and cbesy. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
2922 (cbesh, cbesi, cbesj, cbesk, cbesy): Fix calls to Fortran |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
2923 subroutines. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
2924 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
2925 2008-10-28 Brian Gough <bjg@gnu.org> |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
2926 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
2927 * lo-specfun.cc (zbesi): Fix scaling factor for negative alpha. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
2928 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
2929 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
2930 2008-10-23 John Swensen <jpswensen@comcast.net> |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
2931 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
2932 * oct-shlib.cc (octave_dyld_shlib::open): Call NSLinkEditError to |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
2933 get better diagnostic if NSLinkModule fails. |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
2934 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
2935 2008-10-23 John W. Eaton <jwe@octave.org> |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
2936 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
2937 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_NOW instead |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
2938 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
2939 |
9501 | 2940 2008-10-12 Jaroslav Hajek <highegg@gmail.com> |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2941 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2942 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2943 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2944 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2945 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2946 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2947 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2948 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2949 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2950 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2951 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2952 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2953 |
9501 | 2954 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2955 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2956 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2957 octave_sort<T>::merge_freemem): Replace malloc -> new [], free -> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2958 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2959 (octave_sort<T>::merge_lo, octave_sort<T>::merge_hi): Replace |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2960 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2961 |
8198 | 2962 2008-10-08 John W. Eaton <jwe@octave.org> |
2963 | |
2964 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
2965 sparse arguments rather than rely on extern function. | |
2966 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
2967 2008-10-08 Jaroslav Hajek <highegg@gmail.com> |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
2968 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
2969 * oct-inttypes.h (octave_base_int<T>::compute_threshold): Return |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
2970 exclusive bounds rather than inclusive, be resistant to compiler |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
2971 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
2972 (octave_base_int<T>::convert_real): Use exclusive bounds. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
2973 |
9501 | 2974 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
2975 |
9967 | 2976 * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
2977 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
2978 |
8187 | 2979 2008-10-06 David Bateman <dbateman@free.fr> |
9967 | 2980 |
8187 | 2981 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar |
2982 sparse arguments rather than rely on extern function. | |
2983 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
2984 2008-10-06 John W. Eaton <jwe@octave.org> |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
2985 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
2986 * Spasre-op-defs.h: Undo previous change. |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
2987 |
9501 | 2988 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2989 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2990 * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare |
9967 | 2991 constants. |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2992 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2993 * oct-inttypes.h: Define mixed operations via long double if possible. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2994 * oct-inttypes.cc: Define alternative implementations for 64-bit |
9967 | 2995 multiplication and mixed operations. |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2996 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2997 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
2998 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
2999 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
3000 * oct-lookup.h: Mark functions inline. Add missing std:: qualifiers. |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
3001 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3002 2008-10-06 John W. Eaton <jwe@octave.org> |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3003 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3004 * Sparse.h (Sparse<T>::elt_type): New typedef. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3005 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OP, SPARSE_MSM_CMP_OP): |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3006 Use it to call sparse-matrix/scalar operator instead of attempting |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3007 to instantiate mixed-type sparse-matrix/scalar operators. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3008 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3009 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3010 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3011 * Array.h (Array<T>::maybe_delete_elements): Remove rfv argument from |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3012 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3013 * Array.cc (Array<T>::maybe_delete_elements): Remove all usages of |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3014 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3015 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3016 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3017 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3018 * Array.cc (assignN): Do not call maybe_delete_elements when |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3019 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3020 |
8182 | 3021 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
3022 |
9967 | 3023 * oct-inttypes.h: Mostly rewrite. |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
3024 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
3025 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3026 2008-09-29 Jaroslav Hajek <highegg@gmail.com> |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3027 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3028 * Array.cc (Array<T>::maybe_delete_elements_2(idx_vector&)): Return on |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3029 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3030 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3031 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3032 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3033 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3034 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3035 (maybe_delete_elements (Array<idx_vector>&)): Call the 1D and 2D |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3036 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3037 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3038 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3039 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3040 2008-09-22 Brian Gough <bjg@gnu.org> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3041 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3042 * oct-rand.cc (initialize_mersenne_twister): Use separate |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3043 initializations for each generator to avoid correlation. |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3044 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3045 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3046 |
3047 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): | |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3048 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3049 2008-09-19 John W. Eaton <jwe@octave.org> |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3050 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3051 * Array.cc (assign1, assign2, assignN): |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3052 Clear lhs index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3053 (Array<T>::value): Clear index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3054 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3055 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3056 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3057 * Array.cc (maybe_delete_elements_2 (idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3058 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3059 (maybe_delete_elements (idx_vector&, idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3060 better Matlab compatibility, simplify, gripe on invalid 2-D deletion. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3061 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
3062 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
3063 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
3064 * Array.h (Array<T>::coerce): Use octave_idx_type instead of int. |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
3065 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3066 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3067 |
9967 | 3068 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3069 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3070 |
8039
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3071 2008-08-19 David Bateman <dbateman@free.fr> |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3072 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3073 * oct-inttypes.h (template <class T1, class T2> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3074 octave_int_fit_to_range (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3075 template <typename T> inline T octave_int_fit_to_range (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3076 double&, const T&, const T&), template <> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3077 octave_int_fit_to_range<T1, T2> (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3078 OCTAVE_S_US_FTR): Check and flag integer trunctation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3079 (OCTAVE_INT_FIT_TO_RANGE, OCTAVE_INT_FIT_TO_RANGE2): Adapt for the |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3080 above change. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3081 (OCTAVE_INT_CONV_FIT_TO_RANGE): New macro for conversion to |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3082 integer types. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3083 (octave_int<T>::conv_error_type): New enum to flag conversion and |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3084 math warnings. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3085 (octave_int<T>::octave_int (U i), octave_int<T>::octave_int |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3086 (double i), octave_int<>::octave_int (const octave_int<U>& i)): |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3087 Flag conversion and math errors other than integer truncation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3088 (octave_int<T> octave_int<T>::operator - (void)): Flag truncation |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3089 error. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3090 (static bool get_trunc_flag (void), static bool clear_trunc_flag |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3091 (void, static bool trunc_flag)): Delete. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3092 (static int get_conv_flag (void), static bool get_trunc_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3093 static bool get_nan_flag (void), static bool get_non_int_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3094 static bool get_math_trunc_flag (void), static void |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3095 clear_conv_flag (void)): New functions to query and reset |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3096 conversion and mathw arning state. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3097 (static int cov_flag): New parameter holding current conversion |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3098 and math warning state. Set it to zero. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3099 (template <class T> octave_int<T> powf (float, const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3100 octave_int<T>&), template <class T> octave_int<T> powf (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3101 octave_int<T>&, float)): New functions. |
8040 | 3102 |
3103 2008-08-12 Jaroslav Hajek <highegg@gmail.com> | |
8029
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
3104 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
3105 * lo-ieee.cc (octave_ieee_init): Try to ensure that octave_NaN is |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
3106 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
3107 |
8040 | 3108 2008-08-11 Jaroslav Hajek <highegg@gmail.com> |
8028
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
3109 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
3110 * Array.cc (no_op_fcn): New static function. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
3111 (Array<T>::hermitian): If fcn is null, set to no_op_fcn. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
3112 |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
3113 2008-08-07 John W. Eaton <jwe@octave.org> |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
3114 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
3115 * sprse-base-chol.h, oct-sparse.h: Don't include config.h. |
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
3116 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
3117 * cmd-edit.cc, file-ops.h, kpse.cc, oct-env.cc, pathsearch.cc: |
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
3118 Replace all uses of NPOS with std::string::npos. |
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
3119 |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
3120 * fCmplxLU.h, CmplxLU.h: Fix typo in definition of |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
3121 multiple-inclusion guard macro. |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
3122 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3123 2008-08-05 John W. Eaton <jwe@octave.org> |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3124 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
3125 * file-ops.h, file-ops.cc (file_ops::static_members): |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
3126 New singleton class for static members of file_ops. |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
3127 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
3128 * pathsearch.h, pathsearch.cc (class dir_path::static_members): |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
3129 New singleton class for static members of dir_path. |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
3130 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3131 * pathsearch.cc (dir_path::init): Move octave_kpathsea_initialized |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3132 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3133 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
3134 2008-08-04 John W. Eaton <jwe@octave.org> |
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
3135 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3136 * oct-env.cc (octave_env::do_set_program_name, |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3137 octave_env::do_base_pathname): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3138 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3139 (octave_env::do_make_absolute): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3140 file_ops::dir_sep_chars and file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3141 (octave_env::do_get_home_directory): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3142 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3143 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3144 * file-ops.h (file_ops::do_is_dir_sep): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3145 (file_ops_::is_dir_sep): Call it. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3146 * file-ops.cc (class file_ops): Make it a proper singleton object. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3147 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3148 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3149 (file_ops::xdir_sep_char): Now private. No longer static. Rename |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3150 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3151 (file_ops::xdir_sep_str): Likewise, from dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3152 (file_ops::xdir_sep_chars): Likewise, from dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3153 (file_ops::dir_sep_char, file_ops::dir_sep_str, |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3154 file_ops::dir_sep_chars): New functions. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3155 (file_ops::recursive_rmdir): Fix usage of file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3156 (file_ops::concat): Fix usage of file_ops::dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3157 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
3158 * oct-env.cc (octave_env::instance_ok): Fix typo in error message. |
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
3159 |
7999 | 3160 2008-07-30 John W. Eaton <jwe@octave.org> |
3161 | |
3162 * oct-inttypes.h: Style fixes. | |
3163 | |
8040 | 3164 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3165 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3166 * 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
|
3167 (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
|
3168 member functions. |
7999 | 3169 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
3170 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3171 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3172 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3173 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3174 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
|
3175 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3176 * 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
|
3177 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
|
3178 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3179 (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
|
3180 (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
|
3181 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3182 (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
|
3183 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
|
3184 * 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
|
3185 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3186 (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
|
3187 old NA value with new new. |
9967 | 3188 * data-conv.cc (void read_doubles(std::istream&, double *, |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3189 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
|
3190 loaded NA values is the old representation and replace it. |
9967 | 3191 |
8040 | 3192 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 3193 |
3194 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
3195 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
3196 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
|
3197 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
3198 * 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
|
3199 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
|
3200 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
3201 * 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
|
3202 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
|
3203 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
3204 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
|
3205 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
3206 * 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
|
3207 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3208 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3209 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3210 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3211 (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
|
3212 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3213 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3214 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3215 (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
|
3216 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3217 (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
|
3218 * 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
|
3219 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3220 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3221 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3222 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3223 * 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
|
3224 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3225 * 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
|
3226 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3227 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3228 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3229 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3230 * 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
|
3231 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3232 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3233 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
|
3234 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3235 * 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
|
3236 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3237 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3238 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3239 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3240 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
|
3241 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3242 * 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
|
3243 (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
|
3244 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3245 (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
|
3246 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3247 |
7934 | 3248 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
3249 | |
3250 * oct-mutex.h, oct-mutex.cc: New files. | |
3251 * Makefile.in: Add them to appropriate lists. | |
3252 | |
7929 | 3253 2008-07-15 John W. Eaton <jwe@octave.org> |
3254 | |
3255 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
3256 descending arg as bool&. | |
3257 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
3258 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3259 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
|
3260 |
7924 | 3261 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
3262 number of rows or columns is 0. | |
3263 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
3264 | |
3265 * Array-util.cc (is_vector): Avoid GCC warning. | |
3266 * Array-f.cc (Array<float>::sort): Likewise. | |
3267 * Array-d.cc (Array<double>::sort): Likewise. | |
3268 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
3269 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
3270 ComplexMatrix&)): Likewise. | |
3271 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
3272 FloatMatrix&)): Likewise. | |
3273 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
3274 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
3275 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
3276 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
3277 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
3278 FloatIndefQuad::do_integrate): Likewise. | |
3279 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3280 * 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
|
3281 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
|
3282 * 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
|
3283 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3284 * 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
|
3285 * 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
|
3286 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3287 * 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
|
3288 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
|
3289 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
|
3290 * 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
|
3291 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
|
3292 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3293 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3294 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
|
3295 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3296 * 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
|
3297 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3298 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3299 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
3300 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
|
3301 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
3302 * 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
|
3303 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
3304 |
8040 | 3305 2008-06-20 Jaroslav Hajek <highegg@gmail.com> |
7894
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
3306 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
3307 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
3308 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
3309 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
|
3310 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
3311 * 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
|
3312 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
3313 |
7885 | 3314 2008-06-11 John W. Eaton <jwe@octave.org> |
3315 | |
3316 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
3317 * Makefile.in: Remove them from the lists. | |
3318 | |
7872 | 3319 2008-06-05 John W. Eaton <jwe@octave.org> |
3320 | |
3321 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
3322 counter if iterator is valid. | |
3323 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
3324 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
|
3325 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
3326 * 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
|
3327 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
|
3328 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
|
3329 * 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
|
3330 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
|
3331 * 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
|
3332 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
|
3333 (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
|
3334 (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
|
3335 (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
|
3336 * 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
|
3337 * 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
|
3338 (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
|
3339 (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
|
3340 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3341 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3342 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
3343 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
3344 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
3345 * floatLU.h (class FloatLU): ditto. |
9967 | 3346 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3347 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3348 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3349 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3350 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
3351 * 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
|
3352 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
3353 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3354 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3355 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3356 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3357 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3358 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3359 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3360 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3361 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3362 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3363 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3364 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3365 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3366 |
8040 | 3367 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 3368 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3369 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3370 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3371 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3372 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3373 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3374 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3375 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3376 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3377 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3378 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3379 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3380 |
7803 | 3381 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
3382 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3383 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
9967 | 3384 Correct indenting. |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3385 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3386 (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
|
3387 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3388 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3389 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3390 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3391 * 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
|
3392 * 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
|
3393 |
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
|
3394 * 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
|
3395 * 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
|
3396 (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
|
3397 (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
|
3398 * 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
|
3399 * 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
|
3400 (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
|
3401 (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
|
3402 |
7799 | 3403 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
3404 New template functions. | |
3405 (MatrixType::MatrixType (const Matrix&), | |
3406 MatrixType::MatrixType (const FloatMatrix&)): | |
3407 just call matrix_real_probe. | |
3408 (MatrixType::MatrixType (const ComplexMatrix&), | |
3409 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
3410 just call matrix_complex_probe. | |
3411 | |
3412 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
3413 add missing test for Unknown. | |
3414 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3415 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
|
3416 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3417 * 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
|
3418 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3419 (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
|
3420 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3421 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3422 * 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
|
3423 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3424 (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
|
3425 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3426 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3427 * 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
|
3428 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3429 (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
|
3430 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3431 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3432 * 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
|
3433 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3434 (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
|
3435 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3436 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3437 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
3438 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
3439 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3440 * 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
|
3441 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
|
3442 (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
|
3443 * 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
|
3444 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
|
3445 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3446 * 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
|
3447 (MATRIX_SRC): and here. |
9967 | 3448 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3449 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
9967 | 3450 (FloatComplexAEPBALANCE): New classes for single precision |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3451 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3452 * 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
|
3453 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3454 * 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
|
3455 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3456 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3457 * 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
|
3458 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
|
3459 * 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
|
3460 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3461 * 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
|
3462 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3463 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3464 * 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
|
3465 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
|
3466 * 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
|
3467 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3468 * 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
|
3469 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3470 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3471 * 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
|
3472 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
|
3473 * 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
|
3474 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3475 * 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
|
3476 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3477 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3478 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3479 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3480 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
|
3481 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
9967 | 3482 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3483 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3484 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3485 * 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
|
3486 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3487 (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
|
3488 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3489 * 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
|
3490 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3491 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3492 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3493 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3494 Ditto. |
9967 | 3495 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3496 * 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
|
3497 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3498 * 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
|
3499 * 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
|
3500 * 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
|
3501 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3502 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3503 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3504 * 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
|
3505 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3506 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3507 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3508 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3509 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3510 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3511 * 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
|
3512 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3513 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3514 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3515 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3516 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3517 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3518 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3519 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3520 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3521 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3522 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3523 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3524 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3525 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3526 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3527 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3528 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3529 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3530 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3531 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3532 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3533 Declare them. |
9967 | 3534 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3535 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3536 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3537 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3538 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3539 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3540 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3541 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3542 (MATRIX_SRC): and here. |
9967 | 3543 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3544 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
9967 | 3545 (FloatComplexAEPBALANCE): New classes for single precision |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3546 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3547 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3548 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3549 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3550 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3551 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3552 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3553 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3554 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3555 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3556 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3557 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3558 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3559 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3560 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3561 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3562 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3563 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3564 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3565 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3566 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3567 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3568 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3569 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3570 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3571 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3572 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3573 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3574 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3575 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3576 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
9967 | 3577 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3578 * 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
|
3579 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3580 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3581 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3582 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3583 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3584 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3585 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
|
3586 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3587 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
|
3588 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3589 * 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
|
3590 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3591 * 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
|
3592 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
|
3593 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3594 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
|
3595 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
|
3596 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
|
3597 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
|
3598 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
|
3599 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
|
3600 Allow single precision types. |
9967 | 3601 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
3602 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
|
3603 |
7788 | 3604 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
3605 to avoid shadowed variable warning | |
3606 (double ComplexMatrix::rcond (void) const): New method for | |
3607 reciprocal condition number calculation. | |
3608 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
3609 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
3610 to avoid shadowed variable warning | |
3611 (double ComplexMatrix::rcond (void) const): New method for | |
3612 reciprocal condition number calculation. | |
3613 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
3614 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
3615 to avoid shadowed variable warning | |
3616 (double Matrix::rcond (void) const): New method for | |
3617 reciprocal condition number calculation. | |
3618 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
3619 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
3620 to avoid shadowed variable warning | |
3621 (double Matrix::rcond (void) const): New method for | |
3622 reciprocal condition number calculation. | |
3623 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
3624 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
3625 * 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
|
3626 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
3627 * 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
|
3628 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
3629 |
7776 | 3630 2008-05-19 David Bateman <dbateman@free.fr> |
3631 | |
3632 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
3633 incorrectly used. | |
3634 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
3635 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
3636 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
3637 * 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
|
3638 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
|
3639 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
3640 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
3641 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
|
3642 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
3643 * 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
|
3644 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
|
3645 * 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
|
3646 (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
|
3647 * 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
|
3648 * 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
|
3649 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
3650 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
|
3651 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
3652 * 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
|
3653 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
3654 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
|
3655 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
3656 * 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
|
3657 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
|
3658 * 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
|
3659 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
3660 (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
|
3661 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
3662 (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
|
3663 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
|
3664 (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
|
3665 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
|
3666 |
8040 | 3667 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 3668 |
3669 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
3670 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
3671 New functions. | |
3672 * lo-mappers.h: Provide decls. | |
3673 | |
9501 | 3674 2008-04-25 Michael Goffioul <michael.goffioul@gmail.com> |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
3675 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
3676 * 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
|
3677 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
|
3678 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
3679 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
|
3680 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
3681 * 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
|
3682 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
3683 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
|
3684 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
3685 * 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
|
3686 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
3687 |
8040 | 3688 2008-04-19 Jaroslav Hajek <highegg@gmail.com> |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
3689 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
3690 * 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
|
3691 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3692 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
|
3693 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3694 * 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
|
3695 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3696 * 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
|
3697 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3698 * 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
|
3699 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3700 * 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
|
3701 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3702 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
3703 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
3704 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
3705 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
3706 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
|
3707 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
3708 * 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
|
3709 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
|
3710 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
3711 |
8040 | 3712 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3713 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3714 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3715 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3716 * 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
|
3717 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3718 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3719 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3720 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
3721 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
|
3722 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
3723 * 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
|
3724 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
3725 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
3726 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
3727 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
3728 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
3729 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
3730 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
3731 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
3732 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
3733 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
|
3734 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
3735 * 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
|
3736 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
3737 * 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
|
3738 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
3739 * 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
|
3740 |
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
|
3741 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
|
3742 |
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
|
3743 * 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
|
3744 (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
|
3745 * 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
|
3746 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
|
3747 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
|
3748 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3749 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
|
3750 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3751 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3752 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3753 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3754 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
|
3755 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
3756 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
3757 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
3758 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3759 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3760 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3761 |
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
|
3762 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
|
3763 |
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
|
3764 * 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
|
3765 array case, except for 64bit cases. |
9967 | 3766 |
7619 | 3767 2008-03-21 David Bateman <dbateman@free.fr> |
3768 | |
3769 * oct-sparse.h: Add headers for amd.h. | |
3770 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3771 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
|
3772 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3773 * 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
|
3774 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3775 * 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
|
3776 * 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
|
3777 * 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
|
3778 * 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
|
3779 * 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
|
3780 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3781 * 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
|
3782 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3783 * 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
|
3784 * 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
|
3785 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3786 * 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
|
3787 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3788 * Range.h (Matrix diag (octave_idx_type) const): Declare it. |
9967 | 3789 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3790 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3791 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3792 * 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
|
3793 * 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
|
3794 * 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
|
3795 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3796 * 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
|
3797 * 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
|
3798 * 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
|
3799 * 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
|
3800 * 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
|
3801 * 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
|
3802 * 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
|
3803 * 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
|
3804 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
9967 | 3805 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3806 * 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
|
3807 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
|
3808 * 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
|
3809 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3810 * 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
|
3811 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3812 * 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
|
3813 * 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
|
3814 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
|
3815 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
9967 | 3816 return type. |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3817 * 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
|
3818 const): Rewrite in terms of template classes function. |
9967 | 3819 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3820 * 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
|
3821 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
|
3822 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3823 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3824 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3825 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3826 * 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
|
3827 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3828 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3829 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3830 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3831 * 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
|
3832 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3833 * 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
|
3834 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3835 * 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
|
3836 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3837 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3838 * 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
|
3839 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3840 |
9967 | 3841 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
3842 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
|
3843 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
3844 * 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
|
3845 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
3846 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3847 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
|
3848 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
3849 * 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
|
3850 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
|
3851 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3852 * 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
|
3853 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3854 * 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
|
3855 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3856 * 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
|
3857 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
|
3858 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
|
3859 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
|
3860 * 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
|
3861 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
|
3862 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
9967 | 3863 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
3864 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
3865 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
3866 * 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
|
3867 * 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
|
3868 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
9967 | 3869 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
3870 * 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
|
3871 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
3872 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
9967 | 3873 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
3874 * 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
|
3875 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
|
3876 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
3877 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
|
3878 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
3879 * 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
|
3880 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
3881 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
3882 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
|
3883 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
3884 * 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
|
3885 * 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
|
3886 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
|
3887 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
3888 (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
|
3889 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
|
3890 (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
|
3891 (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
|
3892 (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
|
3893 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
3894 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
3895 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
3896 * 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
|
3897 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
3898 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
|
3899 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
|
3900 (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
|
3901 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3902 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
|
3903 |
9967 | 3904 * dbleQR.cc (QR::insert_col, QR::insert_row, |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
3905 QR::delete_col, QR::delete_row): Use 0-based indexing. |
9967 | 3906 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
3907 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
|
3908 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
3909 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
3910 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
3911 * 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
|
3912 * 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
|
3913 * 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
|
3914 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3915 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3916 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3917 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3918 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3919 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3920 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3921 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3922 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3923 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3924 * 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
|
3925 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3926 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3927 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3928 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3929 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3930 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3931 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3932 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3933 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3934 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
3935 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
|
3936 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
3937 * 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
|
3938 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
3939 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
3940 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
|
3941 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
3942 * 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
|
3943 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
|
3944 |
7545 | 3945 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
3946 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
3947 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
3948 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
3949 calculation of nlvl. |
7545 | 3950 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
3951 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
3952 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
|
3953 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
3954 * 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
|
3955 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
3956 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
|
3957 |
7536 | 3958 * oct-rand.cc (get_dist_id): Fix typo. |
3959 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
3960 fill_rand): Improve error messages. | |
3961 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
3962 * 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
|
3963 (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
|
3964 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
|
3965 (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
|
3966 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
3967 * 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
|
3968 (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
|
3969 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
|
3970 (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
|
3971 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
|
3972 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
|
3973 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
|
3974 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
|
3975 (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
|
3976 (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
|
3977 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
3978 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
3979 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
3980 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
3981 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
|
3982 (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
|
3983 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
|
3984 (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
|
3985 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
3986 * 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
|
3987 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
3988 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3989 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
|
3990 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3991 * 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
|
3992 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3993 (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
|
3994 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
|
3995 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3996 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3997 * 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
|
3998 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
|
3999 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4000 |
7520 | 4001 2008-02-22 John W. Eaton <jwe@octave.org> |
4002 | |
4003 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
4004 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
4005 sparse-dmsolve.cc: Use 0 instead of NULL. | |
4006 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4007 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
|
4008 |
9967 | 4009 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4010 (octave_idx_type) const): New method. |
9967 | 4011 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4012 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4013 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4014 * 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
|
4015 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4016 * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, |
9967 | 4017 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4018 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
|
4019 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4020 * sparse-base-lu.h (template <class lu_type, class lu_elt_type, |
9967 | 4021 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4022 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
|
4023 (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
|
4024 * 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
|
4025 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4026 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4027 * 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
|
4028 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
|
4029 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4030 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4031 * 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
|
4032 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4033 * 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
|
4034 * 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
|
4035 return row permutations as a vector. |
9967 | 4036 (ColumnVector Pc_vec (void) const): New method return column |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4037 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4038 * 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
|
4039 (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
|
4040 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4041 * oct-spparms.cc: Add sym_tol field. |
9967 | 4042 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4043 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
|
4044 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4045 * SparseComplexQR.cc (ComplexMatrix |
9967 | 4046 SparseComplexQR::SparseComplexQR_rep::Q |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4047 (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
|
4048 * SparseComplexQR.h (ComplexMatrix |
9967 | 4049 SparseComplexQR::SparseComplexQR_rep::Q |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4050 (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
|
4051 * 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
|
4052 * 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
|
4053 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4054 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
|
4055 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4056 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4057 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4058 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4059 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4060 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4061 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4062 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4063 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4064 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4065 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4066 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4067 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4068 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4069 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4070 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4071 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4072 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4073 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4074 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4075 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4076 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4077 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4078 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4079 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4080 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4081 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4082 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4083 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4084 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4085 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4086 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4087 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4088 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4089 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4090 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4091 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4092 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4093 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4094 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4095 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4096 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4097 (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
|
4098 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4099 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4100 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4101 (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
|
4102 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4103 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4104 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4105 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4106 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4107 * 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
|
4108 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4109 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4110 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4111 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4112 * 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
|
4113 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
|
4114 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4115 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4116 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
|
4117 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4118 * 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
|
4119 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
|
4120 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
|
4121 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
|
4122 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
|
4123 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
|
4124 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4125 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4126 |
7477 | 4127 2008-02-12 John W. Eaton <jwe@octave.org> |
4128 | |
4129 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
4130 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
4131 | |
7476 | 4132 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
9967 | 4133 |
7480 | 4134 * Array.cc (ascending_compare, descending_compare): Remove |
4135 non-standard extern in the instantiations. | |
4136 | |
4137 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
4138 | |
7476 | 4139 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
4140 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
4141 workaround for DGELSD's broken lwork query. The formula is from | |
4142 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
4143 efficient algorithm in the short-and-fat case (n > m). | |
4144 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
4145 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
4146 ugly workaround for DGELSD's broken lwork query, as with double. | |
4147 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
4148 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
4149 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4150 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4151 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4152 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4153 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4154 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4155 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4156 * 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
|
4157 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
4158 * 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
|
4159 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
4160 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
|
4161 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
4162 * 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
|
4163 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4164 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4165 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4166 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4167 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4168 |
7457 | 4169 2008-02-07 John W. Eaton <jwe@octave.org> |
4170 | |
7458 | 4171 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
4172 ASCENDING, with default value of true. | |
4173 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
4174 (Range::sort (octave_idx_type, sortmode) const): New function. | |
4175 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
4176 const): New function. | |
4177 * Range.h: Fix/provide decls. | |
4178 | |
7457 | 4179 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
4180 | |
7449 | 4181 2008-02-06 John W. Eaton <jwe@octave.org> |
4182 | |
4183 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
4184 (stamp-prereq): Eliminate. | |
4185 (clean): Don't remove stamp-prereq. | |
4186 (libraries): Don't depend on stamp-prereq. | |
4187 (PREREQ): New macro. | |
4188 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
4189 (distclean): Simplify with $(PREREQ). | |
4190 (OPT_BASE): New macro. | |
4191 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
4192 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
4193 | |
7448 | 4194 2008-02-05 John W. Eaton <jwe@octave.org> |
4195 | |
4196 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
4197 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
4198 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4199 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 4200 |
4201 * Array.cc (ascending_compare, descending_compare, | |
4202 Array<T>::sort): Declare explicit specialization for T=double to | |
4203 avoid symbol duplication error at link time. | |
4204 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
4205 define as nonmember functions, not member functions of Array<T>. | |
4206 | |
7442 | 4207 2008-02-03 John W. Eaton <jwe@octave.org> |
4208 | |
4209 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
4210 | |
4211 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
4212 | |
4213 * Array.cc: Don't include Range.h. | |
4214 | |
7433 | 4215 2008-01-31 David Bateman <dbateman@free.fr> |
4216 | |
4217 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
4218 for 64-bit builds. | |
4219 (IFLT): Allow IFLT macro to be overridden. | |
4220 * oct-sort.h: conversion of int to octave_idx_type where needed | |
4221 for 64-bit builds. | |
4222 (enum sortmode): Type of sort to perform. | |
4223 (vec_index): Simple class to aid in indexed sorts. | |
9967 | 4224 |
7433 | 4225 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, |
4226 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
4227 sortmode) const): Array sorting methods. | |
4228 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
4229 instantiate the array sorting methods. | |
4230 * Array.cc (ascending_compare, descending_compare): New template | |
4231 functions for generic sort comparison. | |
4232 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
4233 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
4234 sortmode) const): Array sorting functions based of octave_sort | |
4235 class. | |
9967 | 4236 * Array-C.cc: Instantiate the complex array sort methods. |
7433 | 4237 (IFLT): New macro to override the one in the |
4238 octave_sort class to avoid need for Complex < and > operators. | |
4239 (static double xabs (const Complex&)): Complex abs function | |
4240 avoiding std::abs(Inf) returning NaN with some compilers. | |
4241 (ascending_compare, descending compare): override template | |
4242 functions for complex comparison. | |
9967 | 4243 * Array-d.cc: Instantiate the double array sort methods. |
4244 (Array<double> Array<double>::sort (octave_idx_type, | |
4245 sortmode) const, Array<double> Array<double>::sort | |
4246 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
7433 | 4247 Array sorting functions based of octave_sort using uint64 sorting |
4248 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
4249 (ascending_compare, descending compare): override template | |
4250 functions for double and uint64 comparison. | |
9967 | 4251 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: |
7433 | 4252 Instantiate the array sort methods. |
4253 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
4254 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
4255 versions of the sort methods based on Array<T>::sort. | |
4256 | |
4257 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
4258 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
4259 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
4260 sortmode) const): Sparse sorting methods. | |
9967 | 4261 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting |
7433 | 4262 methods. |
4263 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
4264 of new sort method. | |
4265 (sparse_ascending_compare, sparse_descending_compare): New template | |
4266 functions for generic sort comparison. | |
4267 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
4268 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
4269 sortmode) const): Sparse sorting functions based of octave_sort | |
4270 class. | |
9967 | 4271 * Sparse-C.cc: Instantiate the complex sparse sort methods. |
7433 | 4272 (IFLT): New macro to override the one in the |
4273 octave_sort class to avoid need for Complex < and > operators. | |
4274 (static double xabs (const Complex&)): Complex abs function | |
4275 avoiding std::abs(Inf) returning NaN with some compilers. | |
4276 (sparse_ascending_compare, sparse_descending compare): override | |
4277 template functions for complex comparison. | |
9967 | 4278 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. |
7433 | 4279 (sparse_ascending_compare, sparse_descending compare): override |
4280 template functions for double comparison. | |
4281 * Array-b.cc: Instantiate the sparse sort methods. | |
4282 | |
7422 | 4283 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
4284 | |
4285 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
4286 idx_vector::idx_vector_rep::range_step, | |
4287 idx_vector::idx_vector_rep::range_step): New data members. | |
4288 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
4289 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
4290 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
4291 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
4292 | |
7416 | 4293 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
4294 | |
4295 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
4296 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
4297 | |
7408 | 4298 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 4299 |
4300 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
4301 this fixes the "localtime(-1)" crash under Windows. | |
4302 | |
7400 | 4303 2008-01-18 John W. Eaton <jwe@octave.org> |
4304 | |
4305 * dMatrix.cc (solve_singularity_warning): New function. | |
4306 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
4307 Matrix::solve method. Exit early if Matrix::solve fails. | |
4308 Limit sqpow value to avoid overflowing scale factor. | |
4309 * CMatrix.cc (solve_singularity_warning): New function. | |
4310 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
4311 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
4312 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 4313 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 4314 |
7356 | 4315 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
4316 | |
4317 * Sparse.cc: New tests for slicing of sparse matrices. | |
4318 | |
7350 | 4319 2008-01-07 David Bateman <dbateman@free.fr> |
4320 | |
4321 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
4322 loop if this test succeeds. | |
4323 | |
7342 | 4324 2008-01-03 David Bateman <dbateman@free.fr> |
4325 | |
4326 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
4327 need unary operator on remaining argument | |
4328 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
4329 | |
7334 | 4330 2007-12-21 John W. Eaton <jwe@octave.org> |
4331 | |
4332 Version 3.0.0 released. | |
4333 | |
7322 | 4334 2007-12-18 David Bateman <dbateman@free.fr> |
4335 | |
9967 | 4336 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index |
4337 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
7322 | 4338 stored as a sparse matrix. |
9967 | 4339 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, |
7322 | 4340 idx_vector&, int) const): For the non permutated indexing case, |
4341 fix link list calculation and use. | |
4342 | |
7321 | 4343 2007-12-17 John W. Eaton <jwe@octave.org> |
4344 | |
4345 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
4346 N-d array. | |
4347 | |
7318 | 4348 2007-12-17 David Bateman <dbateman@free.fr> |
4349 | |
4350 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
4351 index. | |
4352 | |
7299 | 4353 2007-12-11 John W. Eaton <jwe@octave.org> |
4354 | |
4355 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
4356 If indexing scalar with empty matrix, return empty array with same | |
4357 size as index. | |
4358 | |
7272 | 4359 2007-12-10 John W. Eaton <jwe@octave.org> |
4360 | |
7279 | 4361 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
4362 and assignment operator. | |
4363 (NLEqn::function_value): New function. | |
4364 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
4365 function value. | |
4366 | |
7272 | 4367 * file-ops.cc (file_ops::concat): New function. |
4368 * file-ops.h: Provide decl. | |
4369 | |
7270 | 4370 2007-12-07 John W. Eaton <jwe@octave.org> |
4371 | |
4372 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
4373 is not 0. | |
4374 | |
7269 | 4375 2007-12-07 David Bateman <dbateman@free.fr> |
4376 | |
4377 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
9967 | 4378 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, |
7269 | 4379 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse |
4380 indexing where possible rather than the elem method. | |
4381 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
4382 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
4383 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
4384 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
4385 = 0 directly. | |
4386 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
4387 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
4388 SPARSE_BASE_REDUCTION_OP. | |
4389 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
4390 Specialize the initial value, and only treat dim = 0 directly. | |
4391 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
4392 ditto. | |
4393 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
4394 | |
7265 | 4395 2007-12-06 John W. Eaton <jwe@octave.org> |
4396 | |
4397 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
4398 data for npp and dpp after assignments. | |
4399 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
4400 | |
7253 | 4401 2007-12-04 John W. Eaton <jwe@octave.org> |
4402 | |
4403 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4404 Do nothing if one index is empty. | |
4405 | |
7246 | 4406 2007-12-04 David Bateman <dbateman@free.fr> |
4407 | |
4408 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4409 Resize matrix as well if one dimension of lhs is zero and the rhs | |
4410 index exceeds the lhs index. | |
4411 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
4412 Don't resize to a smaller matrix for empty matrices with a max rhs | |
4413 index smaller than the non zero lhs index. | |
4414 | |
4415 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
4416 | |
4417 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
4418 | |
7241 | 4419 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
4420 | |
4421 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
4422 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
4423 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
4424 | |
7238 | 4425 2007-12-03 David Bateman <dbateman@free.fr> |
4426 | |
4427 * Sparse.cc (template <class LT, class RT> int assign | |
4428 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
4429 rhs values if both no. rows and columns are zero. | |
4430 | |
7231 | 4431 2007-11-30 John W. Eaton <jwe@octave.org> |
4432 | |
7234 | 4433 * oct-sort.cc, oct-sort.h: Style fixes. |
4434 | |
7231 | 4435 * lo-math.h: New file. |
4436 * Makefile.in (INCLUDES): Add it to the list. | |
4437 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
4438 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
4439 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
4440 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
4441 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
4442 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
4443 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
4444 liboctave/oct-time.h, liboctave/randgamma.c, | |
4445 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
4446 instead of cmath or math.h. | |
4447 * lo-mappers.h: Don't include sunmath.h here. | |
4448 | |
7198 | 4449 2007-11-26 John W. Eaton <jwe@octave.org> |
4450 | |
4451 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
4452 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
4453 | |
4454 * oct-inttypes.h (operator bool, operator char): Delete. | |
4455 (bool_value, char_value, double_value, float_value): New functions. | |
4456 | |
7189 | 4457 2007-11-26 David Bateman <dbateman@free.fr> |
4458 | |
4459 * intNDArray.cc (template <class T> intNDArray<T> | |
4460 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
4461 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
9967 | 4462 template <class T> intNDArray<T> intNDArray<T>::min (int) const, |
4463 template <class T> intNDArray<T> intNDArray<T>::min | |
7189 | 4464 (ArrayN<octave_idx_type>&, int) const): New methods for integer |
4465 classes. | |
4466 * intNDArray.h (class intNDArray): Add min/max methods | |
4467 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
4468 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
4469 min/max functions. | |
9967 | 4470 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
7189 | 4471 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
4472 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
4473 types. | |
9967 | 4474 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
7189 | 4475 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
4476 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
4477 types. | |
4478 | |
4479 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
4480 const T& rfv) const): If ndims != 2 call ND version of index. | |
4481 | |
7176 | 4482 2007-11-14 John W. Eaton <jwe@octave.org> |
4483 | |
7178 | 4484 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
4485 | |
7176 | 4486 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
4487 correction to half-integer values. From Eric Chassande-Mottin | |
4488 <echassandemottin@gmail.com>. | |
4489 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4490 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 4491 |
4492 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
4493 ambiguities related to math functions (in C++ mode). | |
4494 | |
7102 | 4495 2007-11-06 David Bateman <dbateman@free.fr> |
4496 | |
7113 | 4497 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
4498 New method. | |
4499 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
4500 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
4501 New method. | |
4502 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 4503 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
4504 norm to avoid issues of over- and underflow. From Rolf Fabian | |
4505 <Rolf.Fabian@gmx.de>. | |
4506 | |
7081 | 4507 2007-10-30 David Bateman <dbateman@free.fr> |
4508 | |
4509 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
4510 | |
7079 | 4511 2007-10-30 John W. Eaton <jwe@octave.org> |
4512 | |
4513 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
4514 * dMatrix.cc (lssolve): Compute size of iwork array. | |
4515 | |
7076 | 4516 2007-10-29 David Bateman <dbateman@free.fr> |
4517 | |
9967 | 4518 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
4519 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
4520 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
4521 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
4522 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 4523 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
4524 declarations. | |
9967 | 4525 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
4526 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
4527 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
4528 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
4529 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 4530 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
4531 methods. | |
4532 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
9967 | 4533 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
7076 | 4534 octave_idx_type&, double&) const): Also return rcond from the |
4535 singular values returned by XGELSD. | |
9967 | 4536 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
4537 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
4538 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
4539 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
4540 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 4541 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
4542 declarations. | |
9967 | 4543 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
4544 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
4545 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
4546 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
4547 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 4548 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
4549 methods. | |
4550 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
9967 | 4551 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
7076 | 4552 octave_idx_type&, double&) const): Also return rcond from the |
4553 singular values returned by XGELSD. | |
9967 | 4554 |
7072 | 4555 2007-10-26 David Bateman <dbateman@free.fr> |
4556 | |
4557 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
4558 matrices to avoid reliability issues with xGELSY. | |
4559 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 4560 |
7065 | 4561 2007-10-25 John W. Eaton <jwe@octave.org> |
4562 | |
4563 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
4564 Call unix_time on arg instead of relying on conversion operator. | |
4565 | |
4566 * oct-time.h (octave_time::double_value): New function. | |
4567 (octave_time::operator double () const): Delete. | |
4568 (octave_time::operator time_t () const): Delete. | |
4569 | |
7058 | 4570 2007-10-24 John W. Eaton <jwe@octave.org> |
4571 | |
4572 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
4573 | |
7052 | 4574 2007-10-23 John W. Eaton <jwe@octave.org> |
4575 | |
4576 * CRowVector.cc (operator * const ComplexRowVector&, const | |
4577 ComplexColumnVector&)): Delete spurious code left from patch. | |
4578 | |
7048 | 4579 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
4580 | |
4581 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
4582 sparse-sort.cc: Include <cstring>. | |
4583 | |
7036 | 4584 2007-10-17 John W. Eaton <jwe@octave.org> |
4585 | |
4586 * oct-sparse.h: Don't include metis.h. | |
4587 | |
4588 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
4589 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
4590 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
4591 p_type>::sparse_base_chol_rep::init): Likewise. | |
4592 | |
7033 | 4593 2007-10-16 John W. Eaton <jwe@octave.org> |
4594 | |
4595 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
4596 matrix is hermitian or calc_cond is true. | |
4597 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
4598 | |
7016 | 4599 2007-10-12 John W. Eaton <jwe@octave.org> |
4600 | |
4601 * Change copyright notices in all files that are part of Octave to | |
4602 GPLv3 or any later version. | |
4603 | |
7007 | 4604 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
4605 | |
4606 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
4607 | |
7001 | 4608 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
4609 | |
4610 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
4611 | |
7000 | 4612 2007-10-10 John W. Eaton <jwe@octave.org> |
4613 | |
4614 * LPsolve.h, LPsolve.cc: Delete. | |
4615 * Makefile.in: Remove them from the INCLUDES and | |
4616 LIBOCTAVE_CXX_SOURCES lists. | |
4617 | |
6989 | 4618 2007-10-09 John W. Eaton <jwe@octave.org> |
4619 | |
6996 | 4620 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
4621 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
4622 values to zero after call if they remain unchanged. | |
4623 | |
6989 | 4624 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
4625 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
4626 | |
6988 | 4627 2007-10-09 David Bateman <dbateman@free.fr> |
4628 | |
6995 | 4629 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
4630 valud and mon and year are also filled in. | |
4631 | |
6990 | 4632 * Array2.h (Array2<T>::Array2(const dim_vector&), |
4633 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
4634 dim_vector is 2 dimensional. | |
4635 | |
6988 | 4636 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
4637 int)): Remove a for loop in the random indexing case at the | |
9967 | 4638 expense of maintaining a set of linked lists of indices that point |
6988 | 4639 to the same column in the original matrix. |
4640 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
4641 and use it on the RHS of expressions to avoid unnecessary calls to | |
4642 make_unique. | |
4643 | |
6979 | 4644 2007-10-08 David Bateman <dbateman@free.fr> |
4645 | |
4646 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
4647 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
4648 for readline compatible functions. | |
4649 (octave_rl_redisplay): Redisplay the current line of text. | |
4650 (octave_rl_newline): Change interface to the same | |
4651 as used by the equivalent readline function itself. | |
4652 (octave_rl_filename_quoting_desired, | |
4653 octave_rl_set_filename_quote_characters, | |
4654 octave_rl_set_completer_quote_characters, | |
4655 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
4656 octave_rl_set_char_is_quoted_function): New functions to control | |
4657 readline filename quoting and line acceptace. | |
4658 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
4659 as used by the equivalent readline function itself. | |
4660 (octave_rl_redisplay): Redisplay the current line of text. | |
4661 (octave_rl_filename_quoting_desired, | |
4662 octave_rl_set_filename_quote_characters, | |
4663 octave_rl_set_completer_quote_characters, | |
4664 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
4665 octave_rl_set_char_is_quoted_function): New functions to control | |
4666 readline filename quoting and line acceptace. | |
4667 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
4668 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
4669 to map C++ function to readline compatible functions. | |
4670 (set_filename_quote_characters): New function to set the | |
4671 characters to if they appear in a filename that force the filename | |
4672 to be quoted. | |
4673 (set_completer_quote_characters): The characters that the readline | |
4674 completion function considers as quotation characters. | |
4675 (set_quoting_function, set_dequoting_function, | |
4676 set_char_is_quoted_function, set_user_accept_line_function): | |
4677 Functions to set the Octave functions to perform quoting and the | |
4678 acceptance of a line of text by readline. | |
4679 (get_quoting_function, get_dequoting_function, | |
4680 get_char_is_quoted_function, get_user_accept_line_function): | |
4681 Functions to get the above functions. | |
4682 (accept_line): New method for the command_editor to accept a line | |
4683 of text. | |
4684 (file_quoting_desired): Function to set whether readline should | |
4685 attempt to quote filenames. | |
9967 | 4686 (do_set_filename_quoting_characters, |
6979 | 4687 do_set_completer_quote_characters, do_set_quoting_function, |
4688 do_set_dequoting_function, do_set_char_is_quoted_function, | |
4689 do_set_user_accept_line_function, do_get_quoting_function, | |
4690 do_get_dequoting_function, do_get_char_is_quoted_function, | |
4691 do_get_user_accept_line_function, do_filename_quoting_desired): | |
4692 Virtual functions to control the behavior of readline quoting and | |
4693 acceptance of lines. | |
4694 (do_accept_line): Virtual function for the accept line function. | |
9967 | 4695 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, |
6979 | 4696 do_completer_quote_characters, do_set_quoting_function, |
4697 do_set_dequoting_function, do_set_char_is_quoted_function, | |
4698 do_set_user_accept_line_function, do_get_quoting_function, | |
9967 | 4699 do_get_dequoting_function, do_get_user_accept_line_function, |
6979 | 4700 do_accept_line, do_filename_quoting_desired, command_quoter, |
4701 command_dequoter, command_char_is_quoted, command_accept_line): | |
9967 | 4702 New functions in gnu_readline class to control filename quoting |
6979 | 4703 and line acceptance. |
4704 (quoting_function, dequoting_function, char_is_quoted_function, | |
4705 user_accept_line_function): private variable to store functions | |
4706 supplied for readline quoting and line acceptance. | |
4707 (gnu_readline::gnu_readline): Also set the new function pointers | |
4708 to zero. | |
4709 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
4710 interface. | |
4711 (gnu_readeline::operate_and_get_next): Use new accept_line | |
4712 function rather than newline. | |
4713 (default_ommand_editor::do_accept_line): New method. | |
9967 | 4714 (class command_editor set_filename_quote_characters, |
6979 | 4715 set_completer_quote_characters, set_quoting_function, |
4716 set_dequoting_function, set_char_is_quoted_function, | |
4717 set_user_accept_line_function, get_quoting_function, | |
9967 | 4718 get_dequoting_function, get_user_accept_line_function, |
6979 | 4719 accept_line, filename_quoting_desired): New functions checking |
4720 instance before calling virtual function. | |
4721 | |
4722 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
4723 Array2.h: Add dim_vector constructors. | |
4724 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
9967 | 4725 const to dim_vector constructors. |
6979 | 4726 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag |
4727 (octave_idx_type)): New methods to constructor diagonal matrices. | |
4728 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
4729 (octave_idx_type)): Declare them. | |
4730 | |
6969 | 4731 2007-10-06 John W. Eaton <jwe@octave.org> |
4732 | |
4733 * lo-specfun.cc: (zlgamma): Delete. | |
4734 (xgamma): Use C library gamma function if available. | |
4735 (xlgamma): Use C library lgamma function if available. | |
4736 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
4737 other than NaN or Inf. | |
4738 | |
6961 | 4739 2007-10-05 John W. Eaton <jwe@octave.org> |
4740 | |
4741 * lo-specfun.cc (zlgamma): New function. | |
4742 | |
6959 | 4743 2007-10-04 John W. Eaton <jwe@octave.org> |
4744 | |
4745 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
4746 qualifiers on local variables. | |
4747 | |
6958 | 4748 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
4749 | |
4750 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
4751 than log(realmax) to avoid issues with NaN. | |
4752 | |
6940 | 4753 2007-10-01 John W. Eaton <jwe@octave.org> |
4754 | |
6941 | 4755 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
4756 initialize wday and yday. | |
4757 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
4758 | |
6940 | 4759 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
4760 insert extra '\001' when decoding \[ and \]. | |
4761 | |
6926 | 4762 2007-09-26 David Bateman <dbateman@free.fr> |
4763 | |
4764 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
4765 is much faster and no less accurate. | |
4766 * CMatrix.cc (lssolve): ditto. | |
4767 | |
6924 | 4768 2007-09-25 David Bateman <dbateman@free.fr> |
4769 | |
4770 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
4771 zero dimensioned matrices. | |
9967 | 4772 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. |
6924 | 4773 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
4774 ditto. | |
4775 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
4776 ditto. | |
4777 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
4778 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
4779 qrsolve): ditto. | |
4780 * sparse-dmsolve.cc (dmsolve): ditto. | |
4781 | |
6922 | 4782 2007-09-21 John W. Eaton <jwe@octave.org> |
4783 | |
4784 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
4785 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
4786 | |
6916 | 4787 2007-09-19 John W. Eaton <jwe@octave.org> |
4788 | |
4789 * cmd-edit.cc (command_editor::remove_startup_hook): | |
4790 Fix cut-and-paste error. | |
6917 | 4791 (gnu_readline::set_startup_hook): Only set hook function if new |
4792 function is different from the current one. | |
6916 | 4793 |
6913 | 4794 2007-09-18 John W. Eaton <jwe@octave.org> |
4795 | |
4796 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
4797 command_editor::event_hook_set): New static data. | |
4798 (default_command_editor::set_startup_hook, | |
4799 gnu_readline::set_startup_hook, | |
4800 default_command_editor::restore_startup_hook, | |
4801 gnu_readline_restore_event_hook): | |
4802 Rename from do_set_startup_hook and do_set_event_hook. | |
4803 (gnu_readline::operate_and_get_next): Call | |
4804 command_editor::add_startup_hook, not | |
4805 command_editor::set_startup_hook. | |
4806 (command_editor::startup_handler, command_editor::event_handler): | |
4807 New functions. | |
4808 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
4809 command_editor::remove_startup_hook, | |
4810 command_editor::remove_event_hook): Rename from set_startup_hook | |
4811 and restore_startup_hook. Handle hook sets here. | |
4812 * cmd-edit.cc (gnu_history::do_goto_mark): | |
4813 Call remove_startup_hook instead of restore_startup_hook. | |
4814 | |
6907 | 4815 2007-09-17 John W. Eaton <jwe@octave.org> |
4816 | |
4817 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
4818 leading whitespace. | |
4819 | |
6897 | 4820 2007-09-13 John W. Eaton <jwe@octave.org> |
4821 | |
4822 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
4823 octave_read_complex): Use istream::get instead of >> to read | |
4824 individual characters. | |
4825 | |
6884 | 4826 2007-09-10 John W. Eaton <jwe@octave.org> |
4827 | |
4828 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
4829 | |
4830 2007-09-10 David Bateman <dbateman@free.fr> | |
4831 | |
4832 * Array.h (Array<T>::make_unique): Make public so that the | |
4833 ::assign functions can access it directly. | |
4834 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
4835 Array<T>::maybe_delete_elements_1(idx_vector&), | |
4836 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
4837 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
4838 Use xelem for non const RHS to avoid call to make_unique. | |
4839 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
4840 xelem for LHS and call lhs.make_unique() only once. Special case | |
4841 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
4842 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
4843 bring the additional multiplication out of the inner loop. | |
4844 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
4845 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
9967 | 4846 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep |
6884 | 4847 (const Range& r)): Don't use init_state() method but special case |
4848 as with a Range can avoid exhaustive search. | |
4849 | |
6881 | 4850 2007-09-07 John W. Eaton <jwe@octave.org> |
4851 | |
4852 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
4853 manipulating rep directly. | |
4854 | |
4855 * Array.h (idx, idx_count): Declare mutable. | |
4856 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
4857 Now const. | |
4858 | |
6867 | 4859 2007-09-06 David Bateman <dbateman@free.fr> |
4860 | |
9967 | 4861 * Array-util.cc (increment_index): dimensions can have singleton |
4862 trailing dimensions. | |
4863 * Array.h (range_error, xelem, checkelem, elem, operator ()): | |
4864 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
4865 where necessary. | |
4866 * Array.cc (range_error): ditto. | |
4867 * MArrayN.h (permute, ipermute): ditto. | |
4868 * ArrayN.h (permute, ipermute): ditto. | |
4869 * so-array.cc (streamoff_array::compute_index): ditto. | |
4870 * so-array.h (compute_index): ditto. | |
4871 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
6867 | 4872 |
6840 | 4873 2007-08-29 David Bateman <dbateman@free.fr> |
4874 | |
9967 | 4875 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, |
4876 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
4877 matrices marked as singular. | |
4878 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
4879 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
4880 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
4881 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
4882 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
4883 octave_idx_type&, double&, int, int)): ditto. | |
6840 | 4884 |
6838 | 4885 2007-08-27 John W. Eaton <jwe@octave.org> |
4886 | |
4887 * oct-env.cc (octave_env::rooted_relative_pathname, | |
4888 octave_env::do_rooted_relative_pathname): New functions. | |
4889 * oct-env.h: Provide decls. | |
4890 | |
6823 | 4891 2007-08-24 David Bateman <dbateman@free.fr> |
4892 | |
9967 | 4893 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, |
4894 const Array<octave_idx_type>&)): New method. | |
4895 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
4896 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
4897 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
4898 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
4899 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
4900 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
4901 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
4902 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
4903 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
4904 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
4905 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
4906 SparseMatrix&, const Array<octave_idx_type>&), | |
4907 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
4908 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
4909 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
4910 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
4911 SparseMatrix&, const Array<octave_idx_type>&), | |
4912 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
4913 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
6823 | 4914 |
6817 | 4915 2007-08-19 David Bateman <dbateman@free.fr> |
4916 | |
4917 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
4918 | |
6813 | 4919 2007-08-14 John W. Eaton <jwe@octave.org> |
4920 | |
4921 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
4922 Simplify. | |
6814 | 4923 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 4924 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4925 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 4926 |
4927 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
4928 Remove trailing dir separator when stat'ing directory except for | |
4929 root directory. | |
4930 | |
6796 | 4931 2007-07-25 David Bateman <dbateman@free.fr> |
9967 | 4932 |
4933 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
6796 | 4934 to work. |
4935 | |
6764 | 4936 2007-06-04 David Bateman <dbateman@free.fr> |
4937 | |
4938 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
4939 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
4940 perform a twos complement arithmetic shift for both signed and | |
4941 unsigned integers regardless of compiler implementations. | |
4942 | |
6708 | 4943 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
4944 | |
6719 | 4945 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
4946 use cs_complex_t(0,0) for the complex zero. | |
4947 | |
6708 | 4948 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
4949 Sprinkle class instantiations with OCTAVE_API as needed. | |
4950 | |
4951 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
4952 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
4953 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
4954 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
4955 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
4956 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
4957 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
4958 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
4959 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
4960 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
4961 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
4962 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
4963 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
4964 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
4965 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
4966 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
4967 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
4968 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
4969 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
4970 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
4971 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
4972 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
4973 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
4974 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
4975 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
4976 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
4977 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
4978 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
4979 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
4980 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
4981 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
4982 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
4983 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
4984 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
4985 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
4986 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
4987 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
4988 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
4989 SPARSE_SMM_OP_DECLS): Ditto. | |
4990 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
4991 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
4992 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
4993 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
4994 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
4995 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
4996 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
4997 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
4998 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
4999 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
5000 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5001 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
5002 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
5003 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
5004 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
5005 | |
6699 | 5006 2007-06-12 John W. Eaton <jwe@octave.org> |
5007 | |
5008 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
5009 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 5010 |
6693 | 5011 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
5012 | |
6709 | 5013 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
5014 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
5015 with file_ops::dir_sep_char. | |
6694 | 5016 |
6693 | 5017 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
5018 | |
6689 | 5019 2007-06-04 David Bateman <dbateman@free.fr> |
5020 | |
6699 | 5021 * file-ops.cc: Typo. |
5022 | |
6689 | 5023 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
5024 dimensions is greater than 2, collapse to 2-D. | |
5025 | |
6685 | 5026 2007-06-02 David Bateman <dbateman@free.fr> |
5027 | |
5028 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
5029 | |
6680 | 5030 2007-05-31 John W. Eaton <jwe@octave.org> |
5031 | |
5032 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
5033 the computed size is too large for the size of Octave's index type. | |
5034 | |
6662 | 5035 2007-05-23 John W. Eaton <jwe@octave.org> |
5036 | |
5037 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
5038 | |
6629 | 5039 2007-05-16 David Bateman <dbateman@free.fr> |
5040 | |
5041 * dRowVector.cc (linspace): Return second argument if fewer than | |
5042 two values are requested. | |
5043 * CRowVector.cc (linspace): Likewise. | |
5044 | |
6596 | 5045 2007-04-27 John W. Eaton <jwe@octave.org> |
5046 | |
5047 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
5048 | |
6583 | 5049 2007-04-25 John W. Eaton <jwe@octave.org> |
5050 | |
5051 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
5052 | |
6553 | 5053 2007-04-20 John W. Eaton <jwe@octave.org> |
5054 | |
5055 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
5056 not rhs_len == 1. | |
5057 | |
6536 | 5058 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
5059 | |
5060 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
5061 | |
6525 | 5062 2007-04-13 John W. Eaton <jwe@octave.org> |
5063 | |
5064 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
5065 for empty matrix. Only check for colon index equivalence if not empty. | |
5066 | |
6513 | 5067 2007-04-10 John W. Eaton <jwe@octave.org> |
5068 | |
5069 * SparseCmplxQR.cc | |
5070 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
5071 Move GCC_ATTR_UNUSED before the parameter decl. | |
5072 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
5073 | |
6508 | 5074 2007-04-06 John W. Eaton <jwe@octave.org> |
5075 | |
5076 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
5077 * MArray.h (MArray<T>::norm): New function. | |
5078 * MArray.cc: Provide decl. | |
5079 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
5080 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
5081 | |
6490 | 5082 2007-04-04 John W. Eaton <jwe@octave.org> |
5083 | |
5084 * Range.cc (Range::nelem_internal): Likewise. | |
5085 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
5086 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
5087 From Scott Pakin <pakin@lanl.gov>. | |
5088 | |
6486 | 5089 2007-04-04 David Bateman <dbateman@free.fr> |
5090 | |
5091 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
5092 the condition number for positive definite matrices. | |
5093 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
5094 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
5095 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
5096 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
5097 (CHOL(const CHOL&)): Copy xrcond. | |
5098 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
5099 (xrcond): New private data member. | |
5100 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
5101 calc_cond. | |
5102 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
5103 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
5104 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
5105 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
5106 (xrcond): New private data member. | |
5107 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
5108 true, calculate the condition number with dpocon. | |
5109 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
5110 calc_cond is true, calculate the condition number with zpocon. | |
5111 | |
6481 | 5112 2007-04-03 John W. Eaton <jwe@octave.org> |
5113 | |
6482 | 5114 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
5115 | |
5116 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
5117 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
5118 "maybe clobbered by vfork" warning. | |
5119 | |
6483 | 5120 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 5121 if/else. |
5122 | |
5123 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
5124 and destructor. | |
5125 | |
6481 | 5126 * Array.cc (assignN): Don't resize dimension if corresponding |
5127 index is empty. | |
5128 | |
6479 | 5129 2007-04-02 John W. Eaton <jwe@octave.org> |
5130 | |
5131 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
5132 MatrixType argument. | |
5133 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
5134 | |
6467 | 5135 2007-03-27 John W. Eaton <jwe@octave.org> |
5136 | |
5137 * Makefile.in (DISTDIRS): Delete variable. | |
5138 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
5139 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5140 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 5141 |
5142 * MatrixType.cc: Replace all uses of the method | |
9967 | 5143 octave_sparse_params::get_key ("bandden") with |
6460 | 5144 octave_sparse_params::get_bandden (void). |
5145 (MatrixType::MatrixType (void)): Undo previous change but use | |
5146 octave_sparse_params::get_bandden (void). | |
5147 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
5148 methods. | |
5149 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
9967 | 5150 Declare them. |
5151 | |
6458 | 5152 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
5153 David Bateman <dbateman@free.fr> | |
5154 | |
5155 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
5156 Check that all elements are ints before doing anything. Simplify | |
5157 calculation of index values. | |
5158 | |
6457 | 5159 2007-03-26 David Bateman <dbateman@free.fr> |
5160 | |
5161 * Range.cc (Range::all_elements_are_ints): Improve check. | |
5162 | |
6456 | 5163 2007-03-26 John W. Eaton <jwe@octave.org> |
5164 | |
5165 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
5166 * chNDArray.h, chMatrix.h: Provide decls. | |
5167 | |
5168 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
5169 | |
5170 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
5171 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 5172 |
6435 | 5173 2007-03-23 David Bateman <dbateman@free.fr> |
5174 | |
5175 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
5176 little endian. | |
5177 | |
6414 | 5178 2007-03-15 John W. Eaton <jwe@octave.org> |
5179 | |
5180 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
5181 From Alexander Barth <abarth@marine.usf.edu>. | |
5182 | |
6402 | 5183 2007-03-12 John W. Eaton <jwe@octave.org> |
5184 | |
5185 * oct-inttypes.h (octave_int::octave_int (double)): | |
5186 New Specialization. Round arg. | |
5187 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
5188 Round result before converting type. | |
5189 | |
6388 | 5190 2007-03-07 John W. Eaton <jwe@octave.org> |
5191 | |
6392 | 5192 * Array.cc (assign1): Avoid resizing if there is an error. |
5193 | |
6390 | 5194 * dMatrix.cc, CMatrix.cc (operator *): Only check |
5195 f77_exception_encountered immediately after calls that use F77_XFCN. | |
5196 | |
6389 | 5197 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
5198 Only allow resizing empty LHS if it is 0x0. | |
5199 | |
6388 | 5200 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
5201 const T&)): Handle case of more indices than dimensions. | |
5202 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
5203 cases to be handled by assignN. | |
5204 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
5205 Special cases for 2-d array assignments for speed. | |
5206 Improve handling of scalar RHS and empty indices. | |
6384 | 5207 |
6383 | 5208 2007-03-05 David Bateman <dbateman@free.fr> |
5209 | |
5210 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
5211 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
5212 | |
6379 | 5213 2007-03-02 John W. Eaton <jwe@octave.org> |
5214 | |
5215 * str-vec.h (string_vector::empty): Return bool, not int. | |
5216 | |
6375 | 5217 2007-03-01 David Bateman <dbateman@free.fr> |
5218 | |
9967 | 5219 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for |
5220 an independent implementation of RFC1321. | |
5221 * oct-md5.h, oct-md5: New files for treating std::string class | |
5222 with MD5. | |
5223 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
5224 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
5225 (LIBOCTAVE_C_SOURCES): Add md5.c | |
6375 | 5226 |
6366 | 5227 2007-02-27 John W. Eaton <jwe@octave.org> |
5228 | |
5229 * Makefile.in (uninstall): Delete files listed in | |
5230 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
5231 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
5232 | |
6536 | 5233 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 5234 |
5235 * file-ops.cc (file_ops::recursive_rmdir): | |
5236 Close dir_entry object before calling rmdir. | |
5237 | |
6536 | 5238 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 5239 |
5240 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
5241 | |
6359 | 5242 * sparse-util.h (SparseCholPrint, SparseCholError): |
5243 Tag with OCTAVE_API. | |
5244 | |
6326 | 5245 2007-02-18 David Bateman <dbateman@free.fr> |
5246 | |
5247 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
5248 calling setall and reset to the current generator after. | |
5249 | |
6323 | 5250 2007-02-16 John W. Eaton <jwe@octave.org> |
5251 | |
5252 * oct-shlib.h (octave_shlib::relative): New data member. | |
5253 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
5254 New functions. | |
5255 | |
6321 | 5256 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
5257 | |
5258 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
5259 windows platform. | |
5260 * lo-sysdep.h (octave_popen2): Declare it. | |
5261 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
5262 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
5263 | |
6306 | 5264 2007-02-14 John W. Eaton <jwe@octave.org> |
5265 | |
5266 * kpse.cc (expand_elt): Omit special treatment for //. | |
5267 | |
6273 | 5268 2007-02-06 John W. Eaton <jwe@octave.org> |
5269 | |
5270 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
5271 Don't delete value returned from realpath. | |
5272 | |
6271 | 5273 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
5274 | |
5275 * file-ops.cc (file_ops::canonicalize_file_name): | |
5276 Provide implementation if realpath function is available. | |
5277 | |
6256 | 5278 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
5279 | |
5280 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
5281 | |
6244 | 5282 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
5283 | |
5284 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
5285 Windows systems. | |
5286 | |
6242 | 5287 2007-01-16 John W. Eaton <jwe@octave.org> |
5288 | |
5289 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
5290 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
5291 | |
5292 * oct-fftw.h (fftw_planner): Provide decl. | |
5293 | |
6241 | 5294 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
5295 | |
5296 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
5297 | |
6236 | 5298 2007-01-10 John W. Eaton <jwe@octave.org> |
5299 | |
5300 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
5301 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
5302 | |
6231 | 5303 2007-01-08 David Bateman <dbateman@free.fr> |
5304 | |
5305 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
5306 SPARSESUITE with SUITESPARSE to match upstream name. | |
5307 | |
6228 | 5308 2007-01-05 David Bateman <dbateman@free.fr> |
5309 | |
9967 | 5310 * oct-fftw.cc: (octave_fftw_planner::method (void), |
6228 | 5311 octave_fftw_planner (FftwMethod)): New methods to interrogate and |
5312 set the FFTW wisdom method used. | |
9967 | 5313 (octave_fftw_planner::create_plan) Modify to allow different |
6228 | 5314 methods to be used. |
5315 (octave_fftw_planner): Move class definition from here. | |
5316 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
5317 and FftwMethod enum. | |
5318 | |
6221 | 5319 2007-01-03 David Bateman <dbateman@free.fr> |
5320 | |
5321 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
5322 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
5323 sparse matrices are special cased. | |
5324 | |
5325 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
5326 matrix, sparse matrix operations. | |
5327 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
5328 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
5329 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
9967 | 5330 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, |
5331 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
6221 | 5332 FULL_SPARSE_MUL): Modify macros so that scalars stored as |
5333 sparse matrices are special cased. | |
5334 | |
6217 | 5335 2006-12-22 David Bateman <dbateman@free.fr> |
5336 | |
5337 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
5338 | |
6216 | 5339 2006-12-22 John W. Eaton <jwe@octave.org> |
5340 | |
5341 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
5342 least 2 dimensions. | |
5343 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
5344 | |
6208 | 5345 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
5346 | |
5347 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
5348 | |
5349 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 5350 implementation for Windows. |
6208 | 5351 |
6207 | 5352 2006-12-06 David Bateman <dbateman@free.fr> |
5353 | |
6208 | 5354 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
5355 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 5356 |
5357 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
9967 | 5358 (tinverse): New method for triangular matrices. |
5359 (inverse): New function with matrix type probing. | |
5360 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
5361 declarations. | |
5362 * CMatrix.cc: Ditto. | |
5363 * CMatrix.h: Ditto. | |
6207 | 5364 |
6205 | 5365 2006-12-06 John W. Eaton <jwe@octave.org> |
5366 | |
5367 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
5368 | |
6202 | 5369 2006-12-05 John W. Eaton <jwe@octave.org> |
5370 | |
5371 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
5372 followed by 'I' or 'i', try reading number after putting | |
5373 characters back on input stream. | |
5374 | |
6198 | 5375 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
5376 | |
5377 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
5378 loop is n, not L. | |
5379 | |
6194 | 5380 2006-11-30 John W. Eaton <jwe@octave.org> |
5381 | |
5382 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
5383 Also recognize [+-][Ii]nf. | |
5384 | |
6187 | 5385 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 5386 |
5387 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
5388 sub-directory. | |
5389 | |
9967 | 5390 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
6204 | 5391 well when calling tinverse for lower triangular matrices. |
9967 | 5392 * CSparse.cc (SparseComplexMatrix::inverse): |
5393 Ditto. | |
5394 | |
6183 | 5395 2006-11-21 John W. Eaton <jwe@octave.org> |
5396 | |
5397 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
5398 | |
6182 | 5399 2006-11-20 John W. Eaton <jwe@octave.org> |
5400 | |
5401 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
5402 for ".", and names beginning with "./" or "../". | |
5403 | |
6162 | 5404 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
5405 | |
5406 * CMatrix.cc, dMatrix.cc: New tests. | |
5407 | |
6153 | 5408 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
5409 | |
5410 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
5411 | |
6152 | 5412 2006-11-11 John W. Eaton <jwe@octave.org> |
5413 | |
5414 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
5415 Use $(simple-move-if-change-rule) here. | |
5416 | |
6148 | 5417 2006-11-09 David Bateman <dbateman@free.fr> |
5418 | |
5419 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
5420 octave_idx_type, not int. | |
5421 | |
6145 | 5422 2006-11-08 John W. Eaton <jwe@octave.org> |
5423 | |
5424 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
5425 | |
6141 | 5426 2006-11-06 John W. Eaton <jwe@octave.org> |
5427 | |
5428 * Array.cc (assignN): Exit early if invalid indices are found. | |
5429 | |
6140 | 5430 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
5431 | |
5432 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
5433 | |
6137 | 5434 2006-11-03 John W. Eaton <jwe@octave.org> |
5435 | |
5436 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
5437 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
5438 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
5439 | |
6123 | 5440 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
5441 | |
5442 * oct-shlib.cc: Undefine min and max after including windows.h. | |
5443 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
5444 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
5445 lo-sysdep.cc. | |
5446 | |
6113 | 5447 2006-10-27 John W. Eaton <jwe@octave.org> |
5448 | |
6119 | 5449 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
5450 | |
5451 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
5452 | |
5453 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
5454 NDS_CMP_OPS2): New macros. | |
6113 | 5455 |
6111 | 5456 2006-10-26 John W. Eaton <jwe@octave.org> |
5457 | |
6119 | 5458 * mx-ops (core-type): New field for integer types. |
5459 * mk-ops.awk: Handle core-type for integer comparison ops. | |
5460 | |
6111 | 5461 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
5462 Move here from src/cutils.c. | |
5463 * lo-utils.h: Provide decls. | |
5464 * strcasecmp.c: Move here from src/strcasecmp.c. | |
5465 * strncase.c: Move here from src/strncase.c. | |
5466 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
5467 | |
6106 | 5468 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
5469 | |
5470 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
5471 | |
6708 | 5472 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
5473 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
5474 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
5475 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
5476 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
5477 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
5478 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
5479 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
5480 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
5481 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
5482 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
5483 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
5484 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
5485 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
5486 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
5487 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
5488 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
5489 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
5490 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
5491 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
5492 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
5493 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
5494 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 5495 |
6105 | 5496 2006-10-26 John W. Eaton <jwe@octave.org> |
5497 | |
5498 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
5499 type qualification for OP. | |
5500 | |
6101 | 5501 2006-10-26 David Bateman <dbateman@free.fr> |
5502 | |
5503 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
5504 octave_idx_type)): Be more careful with the size of the input | |
5505 matrix, and therefore don't create or read non existent data. | |
5506 | |
6092 | 5507 2006-10-25 John W. Eaton <jwe@octave.org> |
5508 | |
5509 * Sparse.cc (assign): Clear lhs index after error. | |
5510 | |
6093 | 5511 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 5512 |
5513 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
5514 Fix previous patch so it works. | |
5515 | |
6087 | 5516 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
5517 | |
6095 | 5518 * glob-match.h (glob_match::glob_match (const std::string&, |
5519 unsigned int)): Delete initializer for first arg. | |
5520 | |
6093 | 5521 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
5522 New functions. | |
5523 | |
6087 | 5524 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
5525 | |
6096 | 5526 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
5527 same code as __MINGW32__. | |
5528 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
5529 the same as for __MINGW32__. | |
5530 | |
5531 * randpoisson.c: Undefine INFINITE before redefining. | |
5532 | |
6079 | 5533 2006-10-24 David Bateman <dbateman@free.fr> |
5534 | |
5535 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
5536 lhs at the point we know the assignment can succeed if the lhs is | |
5537 empty. | |
5538 | |
6072 | 5539 2006-10-23 John W. Eaton <jwe@octave.org> |
5540 | |
5541 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
5542 | |
6061 | 5543 2006-10-17 John W. Eaton <jwe@octave.org> |
5544 | |
5545 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
5546 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
5547 and _copysign. | |
5548 | |
6059 | 5549 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 5550 |
6061 | 5551 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
5552 | |
9967 | 5553 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
6708 | 5554 * CSparse.cc (SparseComplexMatrix::insert): Likewise. |
6061 | 5555 |
6058 | 5556 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
5557 | |
6059 | 5558 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
5559 | |
6051 | 5560 * Makefile.in: Adapt rules to use $(LIBPRE). |
5561 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5562 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 5563 |
5564 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
5565 or p == 0. | |
5566 | |
6018 | 5567 2006-10-02 John W. Eaton <jwe@octave.org> |
5568 | |
5569 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
5570 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
5571 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5572 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 5573 |
9967 | 5574 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): |
5575 Remove spurious warning. | |
5996 | 5576 |
5992 | 5577 2006-09-15 John W. Eaton <jwe@octave.org> |
5578 | |
9967 | 5579 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): |
5992 | 5580 Handle resizing. |
5581 | |
5582 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
5583 | |
5983 | 5584 2006-09-11 John W. Eaton <jwe@octave.org> |
5585 | |
5586 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
9967 | 5587 Handle M*v and rv*cv special cases. |
5983 | 5588 * CMatrix.cc (operator * (const ComplexMatrix&, const |
5589 ComplexMatrix&))): Likewise. | |
5590 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
5591 | |
5592 * dRowVector.cc (operator * (const RowVector&, const | |
5593 ColumnVector&)): Call xddot here instead of using a Fortran | |
5594 function directly. | |
5595 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
5596 ComplexColumnVector&)): Call xzdotu here. | |
5597 | |
5598 2006-09-05 John W. Eaton <jwe@octave.org> | |
5599 | |
5600 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
5601 elements to '\0', not ' '. | |
5602 | |
5972 | 5603 2006-08-25 John W. Eaton <jwe@octave.org> |
5604 | |
5605 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
5606 | |
5958 | 5607 2006-08-23 John W. Eaton <jwe@octave.org> |
5608 | |
5609 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
5610 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
5611 | |
5955 | 5612 2006-08-22 John W. Eaton <jwe@octave.org> |
5613 | |
5956 | 5614 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
5615 * dMatrix.cc (Matrix::save_ascii): New function. | |
5616 | |
5955 | 5617 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
5618 If array is empty, return value is same size as array. | |
5619 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
5620 If array is empty, produce correctly sized return value. | |
5621 | |
5940 | 5622 2006-08-18 John W. Eaton <jwe@octave.org> |
5623 | |
5943 | 5624 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
5625 * dMatrix.h: Provide decl. | |
5626 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
5627 * dNDArray.h: Provide decl. | |
5628 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
5629 New function. | |
5630 * intNDArray.h: Provide decl. | |
5631 | |
5940 | 5632 * Array.cc (Array<T>::permute): Only rearrange values if array is |
5633 not empty. | |
5634 | |
5904 | 5635 2006-07-26 John W. Eaton <jwe@octave.org> |
5636 | |
5637 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
5638 DET::value_will_overflow): Use xlog2 instead of log2. | |
5639 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
5640 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
5641 * CmplxDET.cc (ComplexDET::initialize10, | |
5642 ComplexDET::value_will_underflow, | |
5643 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
5644 (ComplexDET::initialize2, ComplexDET::initialize10): | |
5645 Use xround instead of round. | |
5646 (ComplexDET::initialize2, ComplexDET::value): | |
5647 Use xexp2 instead of exp2. | |
5648 | |
5649 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
5650 (xlog2, xexp2): New functions. | |
5651 * lo-mappers.h: Provide decls. | |
5652 | |
5900 | 5653 2006-07-22 John W. Eaton <jwe@octave.org> |
5654 | |
5655 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
5656 Sparse<T>::mex_get_jc): New functions. | |
5657 | |
5658 2006-07-21 John W. Eaton <jwe@octave.org> | |
5659 | |
5660 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
5661 * Array.h (Array<T>::mex_get_data): New function. | |
5662 | |
5898 | 5663 2006-07-19 John W. Eaton <jwe@octave.org> |
5664 | |
5665 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
5666 | |
5893 | 5667 2006-07-16 John W. Eaton <jwe@octave.org> |
5668 | |
5669 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
5670 Rename from SparseParams. Use same implementation method as other | |
5671 singleton classes in Octave. Change all uses of | |
5672 Voctave_sparse_controls to use static functions from | |
5673 octave_sparse_params class instead. | |
5674 | |
5675 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
5676 SparseParams::get_key): Pass std::string arg by const reference, | |
5677 not const value. | |
5678 | |
5892 | 5679 2006-07-15 John W. Eaton <jwe@octave.org> |
5680 | |
5681 * data-conv.cc: Instantiante swap_bytes templates here. | |
5682 | |
5683 * MatrixType.cc (MatrixType::MatrixType): | |
5684 Use complete initializer lists in constructors. | |
5685 | |
5880 | 5686 2006-07-06 John W. Eaton <jwe@octave.org> |
5687 | |
5688 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
5689 New constructor. | |
5690 * str-vec.h: Provide decl. | |
5691 | |
5876 | 5692 2006-07-01 David Bateman <dbateman@free.fr> |
5693 | |
5694 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
5695 elements on the diagonal. Allow both Upper and Lower triangular | |
5696 matrices to be treated. | |
5697 * CSparse.cc (tinverse): ditto. | |
5698 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
5699 constant assignment. | |
9967 | 5700 |
5870 | 5701 2006-06-30 John W. Eaton <jwe@octave.org> |
5702 | |
5872 | 5703 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
5704 * cmd-edit.cc (editor::read_init_file): Ditto. | |
5705 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 5706 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 5707 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 5708 |
5870 | 5709 * data-conv.cc (data_conv::string_to_data_type): |
5710 Correctly handle leading "*". | |
5711 | |
5869 | 5712 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
5713 | |
5714 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
5715 array access. | |
9967 | 5716 |
5866 | 5717 2006-06-27 John W. Eaton <jwe@octave.org> |
5718 | |
5719 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
5720 | |
5864 | 5721 2006-06-21 John W. Eaton <jwe@octave.org> |
5722 | |
5723 * oct-shlib.cc (octave_dlopen_shlib::close, | |
5724 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
5725 Skip do_close_hook if cl_hook is 0. | |
5726 | |
5863 | 5727 2006-06-16 John W. Eaton <jwe@octave.org> |
5728 | |
5729 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
5730 * randmtzig.h: Don't inlcude config.h. | |
5731 | |
5837 | 5732 2006-05-31 David Bateman <dbateman@free.fr> |
5733 | |
5734 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
5735 | |
5828 | 5736 2006-05-23 John W. Eaton <jwe@octave.org> |
5737 | |
5738 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
5739 typedefs, or define them if those files are not available. | |
5740 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
5741 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
5742 octave_uint64_t): Delete typedefs. Replace all uses of these | |
5743 types with int8_t, int16_t, etc. | |
5744 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
5745 Delete definitions. Replace all uses of these macros with int8_t, | |
5746 int16_t, etc. | |
5747 * randmtzig.h: Delete integer typedefs. | |
5748 | |
5822 | 5749 2006-05-18 John W. Eaton <jwe@octave.org> |
5750 | |
5751 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
5752 From Keith Goodman <kwgoodman@gmail.com>. | |
5753 | |
5813 | 5754 2006-05-08 David Bateman <dbateman@free.fr> |
5755 | |
5756 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
5757 modification. | |
5758 | |
5797 | 5759 2006-05-09 David Bateman <dbateman@free.fr> |
5760 | |
5761 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
5762 ov-cx-sparse. and error_state. | |
5763 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
9967 | 5764 |
5795 | 5765 2006-05-08 David Bateman <dbateman@free.fr> |
5766 | |
5767 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
5768 first pass and use to determine which algorithm to use on a | |
5769 column-by-column basis. | |
5770 | |
5792 | 5771 2006-05-04 David Bateman <dbateman@free.fr> |
5772 | |
5773 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
5774 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
5775 CXSparse or later | |
5776 | |
5785 | 5777 2006-05-03 David Bateman <dbateman@free.fr> |
5778 | |
5779 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
5780 External declaration of lapack triangular and Cholesky codes. | |
9967 | 5781 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
5785 | 5782 ComplexMatrix::fsolve): New private solver codes for |
9967 | 5783 upper, lower and LU/Cholesky solvers. |
5785 | 5784 (ComplexMatrix::solve): New versions for cached matrix |
5785 type. Adapt old versions to call new versions | |
5786 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
5787 new solvers. | |
5788 (solve): New versions for cached matrix type. | |
5789 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
5790 External declaration of lapack triangular and Cholesky codes. | |
9967 | 5791 (Matrix::utsolve, Matrix::ltsolve, |
5785 | 5792 Matrix::fsolve): New private solver codes for |
9967 | 5793 upper, lower and LU/Cholesky solvers. |
5785 | 5794 (Matrix::solve): New versions for cached matrix |
5795 type. Adapt old versions to call new versions | |
5796 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
5797 new solvers. | |
5798 (solve): New versions for cached matrix type. | |
5799 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
5800 * CSparse.h: ditto. | |
5801 * dSparse.cc: ditto. | |
5802 * dSparse.h: ditto. | |
5803 * SparseCmplxCHOL.cc: ditto. | |
5804 * SparsedbleCHOL.cc: ditto. | |
5805 * sparse-dmsolve.cc: ditto. | |
5806 * SparseType.cc, SparseType.h: delete. | |
5807 * MatrixType.cc: New file for class to cache matrix type, based on | |
5808 old SparseType class but caching matrix and sparse types. | |
5809 * MatrixType.h: ditto. | |
5810 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
5811 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
5812 respectively. | |
5813 * mx-base.h: Include MatrixTye.h as header file. | |
9967 | 5814 |
5781 | 5815 2006-05-01 John W. Eaton <jwe@octave.org> |
5816 | |
5817 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
5818 Delete WARN_FUTURE arg. Change all uses. | |
5819 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
5820 Change all uses. Use current_liboctave_warning_with_id_handler. | |
5821 (octave_base_shlib::open): Delete arg. Change all derived classes | |
5822 and uses. | |
5823 | |
5824 2006-04-29 John W. Eaton <jwe@octave.org> | |
5825 | |
5826 * Array-flags.cc, Array-flags.h: Delete. | |
5827 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
5828 (MATRIX_INC): Remove Array-flags.h from the list. | |
5829 | |
5830 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
5831 Use current_liboctave_warning_with_id_handler | |
5832 with warning ID Octave:resize-on-range-error. | |
5833 * idx-vector.h: Fix decl. | |
5834 * Array.cc, Sparse.cc: Change all callers. | |
5835 | |
5836 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
5837 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
5838 with warning ID Octave:fortran-indexing instead of | |
5839 liboctave_wfi_flag. | |
5840 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
5841 | |
5777 | 5842 2006-04-26 John W. Eaton <jwe@octave.org> |
5843 | |
5844 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
5845 New static data. | |
5846 * pathsearch.h: Provide decls. | |
5847 (dir_path::is_path_sep): New function. | |
5848 | |
5766 | 5849 2006-04-18 John W. Eaton <jwe@octave.org> |
5850 | |
5851 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
5852 Omit inline from decl. | |
5853 | |
5854 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
5855 local array with variable dimension. | |
5856 | |
5764 | 5857 2006-04-16 John W. Eaton <jwe@octave.org> |
5858 | |
5765 | 5859 * lo-sstream.h: Delete. |
5860 * Makefile.in (INCLUDES): Remove it from the list. | |
5861 | |
5862 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
5863 * Sparse.cc (Sparse::range_error): Likewise. | |
5864 * DASSL.cc (DASSL::error_message): Likewise. | |
5865 * LSODE.cc (LSODE::error_message): Likewise. | |
5866 * DASRT.cc (DASRT::error_message): Likewise. | |
5867 * DASPK.cc (DASPK::error_message): Likewise. | |
5868 * Array.cc (Array::range_error): Likewise. | |
5869 | |
5764 | 5870 * kpse.cc (kpse_hash): Rename from hash. |
5871 (hash_lookup): Call kpse_hash instead of hash. | |
5872 | |
5873 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
5874 to avoid local array with variable dimension. | |
5875 | |
5760 | 5876 2006-04-13 David Bateman <dbateman@free.fr> |
5877 | |
9967 | 5878 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
5760 | 5879 Optimize assignment. |
5880 | |
5881 2006-04-13 John W. Eaton <jwe@octave.org> | |
5882 | |
9967 | 5883 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
5760 | 5884 Eliminate unnecessary casts. |
5885 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
5886 | |
5887 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
5888 (log_search, dir_links): Use static_cast instead of C-style cast. | |
5889 | |
5890 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
5891 * oct-alloc.cc (allocator::grow): Likewise. | |
5892 * CSparse.cc (SparseComplexMatrix::determinant, | |
5893 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
5894 Likewise. | |
5895 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
5896 | |
5897 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
5898 Use static_cast instead of C-style cast. | |
5899 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
5900 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
5901 | |
5902 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
5903 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
5904 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
5905 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
5906 Use reinterpret_cast instead of X_CAST. | |
5907 | |
5908 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
5909 return value here. | |
5910 | |
5752 | 5911 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
5912 | |
5913 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
5914 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
5915 | |
5730 | 5916 2006-04-03 David Bateman <dbateman@free.fr> |
5917 | |
5731 | 5918 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
5919 to avoid copy of original matrix. | |
5920 | |
5730 | 5921 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
9967 | 5922 randmtzig.h to the list. |
5730 | 5923 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and |
9967 | 5924 randmtzig.c to the list. |
5730 | 5925 * oct-rand.cc (do_old_initialization): Rename from do_initialization. |
5926 (use_old_generators): New variable. | |
5927 (old_initialized): Rename from initialized. | |
5928 (new_initialized): New variable. | |
5929 (oct_init_by_entropy): New function. | |
5930 (maybe_initialize): Initialize new or old generator depending on | |
5931 value of use_old_generators. | |
5932 (octave_rand::state): New functions. | |
5933 (octave_rand::distribution): Add gamma, exponential and poisson | |
5934 distributions. | |
5935 (octave_rand::exponential_distribution, | |
5936 octave_rand::poisson_distribution, | |
5937 octave_rand::gamma_distribution): New methods to select | |
9967 | 5938 exponential, poisson or gamma distribution. |
5730 | 5939 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
5940 octave_rand::vector): Add new distributions. | |
5941 * oct-rand.h: Provide decls for new functions. | |
5942 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
5943 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
5944 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
5945 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
9967 | 5946 randmtzig.h: New files. |
5730 | 5947 |
5717 | 5948 2006-03-24 John W. Eaton <jwe@octave.org> |
5949 | |
5950 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
5951 Array<octave_idx_type>, so fortran_vec returns pointer to | |
5952 octave_idx_type, not pointer to int. | |
5953 | |
5954 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
5955 ComplexMatrix::column (char*)): Delete. | |
5956 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
5957 Matrix::column (char*)): Delete. | |
5958 | |
5713 | 5959 2006-03-21 David Bateman <dbateman@free.fr> |
5960 | |
5961 * SparseQR.h: Publish externally used friends. | |
5962 * SparseCmplxQR.h: ditto. | |
5963 | |
5700 | 5964 2006-03-21 John W. Eaton <jwe@octave.org> |
5965 | |
5966 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
5967 call to xdbetai. | |
5968 | |
5697 | 5969 2006-03-21 David Bateman <dbateman@free.fr> |
5970 | |
5701 | 5971 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
5972 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 5973 |
5974 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
5975 fallback to QR solvers to be optional. | |
5976 * CSparse.cc (solve): Ditto. | |
5977 * dSparse.h (solve): update declaration for new argument. | |
5978 * CSparse.h (solve): Ditto. | |
5979 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
5980 to bypass QR solvers when solving the well determined part of | |
5981 the problem. | |
5697 | 5982 |
5690 | 5983 2006-03-17 John W. Eaton <jwe@octave.org> |
5984 | |
5985 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
5986 | |
5681 | 5987 2006-03-16 David Bateman <dbateman@free.fr> |
5988 | |
5989 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
5990 reduction of matrix size, except for a couple of cases where nzmax | |
5991 is needed. | |
5992 (zpbcon): Correct declaration of lapack zpbcon function. | |
5993 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
5994 an argument to allow the calculation of condition number to be | |
5995 optional. | |
5996 (bsolve): Add code for the calculation of the condition number | |
5997 using zpbcon and zgbcon. | |
5998 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
5999 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
6000 singular if singularity is detected. | |
6001 (solve): Use optional argument to disable calculation of | |
9967 | 6002 condition number for all but fsolve, for speed. Add code to |
5681 | 6003 allow rectnagular matrices or matrices identified as singular |
6004 to be treated. | |
6005 (lssolve): delete. | |
6006 (operator *): Don't recast real matrices as complex, but | |
6007 rather use the macro directly on the real data. | |
6008 * dSparse.cc: ditto. | |
6009 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
6010 fsolve, factorize): Update declaration for new argument to | |
6011 calculate the condition number. | |
6012 (lssolve): delete. | |
6013 * dSparse.h: ditto. | |
6014 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
6015 reduction of matrix size, except for a couple of cases where | |
6016 nzmax is needed. | |
6017 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
6018 reduction of matrix size, except for a couple of cases where | |
6019 nzmax is needed. | |
6020 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
6021 Special case strict permutations for speed. | |
6022 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
6023 reduction of matrix size, except for a couple of cases where | |
6024 nzmax is needed. | |
6025 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
6026 macros to allow mixed complex/real arguments. | |
6027 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
9967 | 6028 value. |
5681 | 6029 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. |
6030 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
6031 of permutated triangular matrices to avoid seg-faults. Disable | |
6032 detection of underdetermined lower and over-determined upper | |
6033 matrix due to problems with non minimum norm solutions. | |
6034 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
6035 * Makefile.in: add sparse-dmsolve.cc to targets. | |
6036 | |
5675 | 6037 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
6038 | |
6039 * oct-time.cc (octave_strptime::init): Return useful character count. | |
6040 | |
5648 | 6041 2006-03-08 David Bateman <dbateman@free.fr> |
6042 | |
6043 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
6044 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
6045 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
6046 * SparseQR.cc: ditto. | |
6047 * SparseQR.h: ditto. | |
6048 * oct-sparse.h: ditto. | |
6049 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
6050 Declare info variable as volatile. | |
6051 | |
6052 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
6053 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
9967 | 6054 |
5634 | 6055 2006-03-01 John W. Eaton <jwe@octave.org> |
6056 | |
6057 * CMatrix.cc (ComplexMatrix::determinant): | |
6058 Scale result by factors of 2, not 10. | |
6059 * dMatrix.cc (Matrix::determinant): Likewise. | |
6060 | |
6061 * dbleDET.h (DET::DET): Use initializer list. | |
6062 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
6063 DET::exponent10): New functions. | |
6064 (DET::det): Delete. | |
6065 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
6066 Store value internally with double and int instead of 2-element | |
6067 double vector. | |
6068 (DET::initialize2, DET::initialize10): Provide decls. | |
9967 | 6069 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): |
5634 | 6070 Return bool value, not int. |
6071 (DET::initialize2, DET::initialize10): New functions. | |
6072 | |
6073 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
6074 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
6075 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
6076 (ComplexDET::det): Delete. | |
6077 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
6078 ComplexDET::base2): New data members. | |
6079 Store value internally with Complex and int instead of 2-element | |
6080 Complex vector. | |
6081 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
6082 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
6083 ComplexDET::value_will_underflow): Return bool value, not int. | |
6084 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
6085 | |
5632 | 6086 2006-02-24 John W. Eaton <jwe@octave.org> |
6087 | |
6088 * Array.cc (assignN): Clear index before reshaping. | |
6089 | |
6090 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
6091 | |
5630 | 6092 2006-02-20 David Bateman <dbateman@free.fr> |
6093 | |
9967 | 6094 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that |
5630 | 6095 matrix must be square in diagonal, permuted diagonal, triangular |
6096 and permuted triangular back/forward substitution code. Change | |
6097 ambiguous use of no. rows and columns. | |
6098 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
6099 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
6100 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
6101 rectangular diagonal, permuted diagonal, triangular and permuted | |
6102 triangular matrices. | |
6103 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
6104 Treat case where third argument is zero. | |
6105 | |
5621 | 6106 2006-02-15 John W. Eaton <jwe@octave.org> |
6107 | |
5622 | 6108 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
9967 | 6109 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. |
5622 | 6110 |
5621 | 6111 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
6112 | |
5619 | 6113 2006-02-13 David Bateman <dbateman@free.fr> |
6114 | |
6115 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
9967 | 6116 ccolamd and cxsparse |
5619 | 6117 |
5617 | 6118 2006-02-13 John W. Eaton <jwe@octave.org> |
6119 | |
5618 | 6120 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
6121 while loop condition. | |
6122 (kpse_path_iterator::operator =): Declare as private function but | |
6123 don't define to prevent attempts to use assignment operator. | |
6124 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 6125 |
5615 | 6126 2006-02-10 John W. Eaton <jwe@octave.org> |
6127 | |
6128 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
6129 product of all dimensions in CP_SZ. | |
6130 | |
5611 | 6131 2006-02-09 John W. Eaton <jwe@octave.org> |
6132 | |
6133 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 6134 product of all dimensions in CP_SZ. |
5611 | 6135 |
5610 | 6136 2006-02-09 David Bateman <dbateman@free.fr> |
6137 | |
9967 | 6138 * SparseQR.cc: new file for real sparse QR class. |
6139 * SparseQR.h: declaration. | |
6140 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
6141 * SparseCmplxQR.h: declaration. | |
6142 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
6143 (factorize, fsolve): Enable code code lssolve. | |
6144 (lssolve): disable unused args, write based in above sparse QR class. | |
6145 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
6146 (factorize, fsolve): Enable code code lssolve. | |
6147 (lssolve): disable unused args, write based in above sparse QR class. | |
6148 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
6149 Include CXSparse headers. | |
6150 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
6151 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
5610 | 6152 |
5607 | 6153 2006-02-08 John W. Eaton <jwe@octave.org> |
6154 | |
6155 * Array-util.h (calc_permutated_idx): Delete. | |
6156 * Array.cc (permute_vector): New data structure. | |
6157 (permute_vector_compare): New function. | |
6158 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
6159 improved performance. | |
6160 | |
5606 | 6161 2006-02-04 David Bateman <dbateman@free.fr> |
6162 | |
6163 * COLAMD: Remove all files, as now unused. | |
6164 | |
5604 | 6165 2006-01-31 John W. Eaton <jwe@octave.org> |
6166 | |
6167 * Sparse.h (Sparse<T>::nzmax): New function. | |
6168 (Sparse<T>::nnz): Rename from nonzero. | |
6169 Change all uses of old nnz function to be nzmax. Change all uses | |
6170 of nonzero to be nnz. | |
6171 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
6172 | |
5603 | 6173 2006-01-21 David Bateman <dbateman@free.fr> |
6174 | |
9967 | 6175 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. |
6176 (bool octave_idx_vector_comp): New function. | |
6177 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
6178 indexed idx_vector sorting function. | |
6179 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
6180 (class octave_idx_vector_sort): New class for indexed idx_vector | |
6181 sorting. | |
6182 (bool octave_idx_vector_comp): Declaration. | |
6183 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
6184 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
6185 class. | |
6186 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
5603 | 6187 |
5602 | 6188 2006-01-30 John W. Eaton <jwe@octave.org> |
6189 | |
6190 * so-array.h (streamoff_array::nnz): New funtion. | |
6191 * boolNDArray.h (boolNDArray::nnz): New function. | |
6192 * MArrayN.h (MArrayN<T>::nnz): New function. | |
6193 * MArray.h (MArray<T>::nnz): New function. | |
6194 | |
5587 | 6195 2006-01-04 David Bateman <dbateman@free.fr> |
6196 | |
6197 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
6198 elements not being sorted in return matrix. Sort them, and make | |
9967 | 6199 solver select between two algorithms to further improve the |
5587 | 6200 performance. |
6201 * dSparse.cc: include oct-sort.h. | |
6202 * CSparse.cc: ditto. | |
6203 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
9967 | 6204 |
5586 | 6205 2005-12-28 David Bateman <dbateman@free.fr> |
6206 | |
5587 | 6207 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
9967 | 6208 faster in all cases, and significantly so for low density or small |
5587 | 6209 order problems. |
5586 | 6210 |
5552 | 6211 2005-11-30 John W. Eaton <jwe@octave.org> |
6212 | |
6213 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
6214 before setting any values in either array. | |
6215 | |
5547 | 6216 2005-11-29 John W. Eaton <jwe@octave.org> |
6217 | |
6218 * oct-uname.h, oct-uname.cc: New files. | |
6219 * Makefile.in: Add them to the appropriate lists. | |
6220 | |
5535 | 6221 2005-11-11 John W. Eaton <jwe@octave.org> |
6222 | |
6223 * Array.cc (Array<T>::indexN): Simplify. | |
6224 | |
5533 | 6225 2005-11-09 John W. Eaton <jwe@octave.org> |
6226 | |
6227 * oct-inttypes.h (octave_int::operator char (void) const): | |
6228 New conversion op. | |
6229 | |
5527 | 6230 2005-11-01 John W. Eaton <jwe@octave.org> |
6231 | |
6232 * Makefile.in (distclean): Also remove oct-types.h. | |
6233 From Quentin Spencer <qspencer@ieee.org>. | |
6234 | |
5526 | 6235 2005-10-31 David Bateman <dbateman@free.fr> |
6236 | |
6237 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
6238 preprocessor defined TRUE/FALSE. | |
6239 | |
5523 | 6240 2005-10-30 John W. Eaton <jwe@octave.org> |
6241 | |
6242 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
6243 (MX_ND_CUMULATIVE_OP): Likewise. | |
6244 | |
5519 | 6245 2005-10-29 John W. Eaton <jwe@octave.org> |
6246 | |
5520 | 6247 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
6248 things up. Simplify. | |
6249 | |
5519 | 6250 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
6251 case for "vector_equivalent". | |
6252 | |
6253 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
6254 | |
5518 | 6255 2005-10-28 John W. Eaton <jwe@octave.org> |
6256 | |
6257 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
6258 From Quentin Spencer <qspencer@ieee.org>. | |
6259 | |
6260 * sparse-base-chol.cc: Use C++ true/false instead of | |
6261 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
6262 | |
5516 | 6263 2005-10-27 John W. Eaton <jwe@octave.org> |
6264 | |
6265 * Array.cc (assignN): Reshape to final size instead of resizing. | |
6266 | |
5512 | 6267 2005-10-26 John W. Eaton <jwe@octave.org> |
6268 | |
6269 * oct-sparse.h: New file. | |
6270 * oct-sparse.h.in: Delete. | |
6271 | |
5511 | 6272 2005-10-26 David Bateman <dbateman@free.fr> |
6273 | |
6274 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
6275 * sparse-base-chol.cc: ditto. | |
6276 | |
5508 | 6277 2005-10-26 John W. Eaton <jwe@octave.org> |
6278 | |
6279 Changes for GCC 4.1, tip from Arno J. Klaassen | |
6280 <arno@heho.snv.jussieu.fr>: | |
6281 | |
9967 | 6282 * dSparse.h (real (const SparseComplexMatrix&)): |
5509 | 6283 Publish externally used friend function. |
6284 (imag (const SparseComplexMatrix&)): Likewise. | |
6285 | |
5508 | 6286 * dColVector.h (real (const ComplexColumnVector&)): |
6287 Publish externally used friend function. | |
6288 (imag (const ComplexColumnVector&)): Likewise. | |
6289 | |
6290 * dNDArray.h (real (const ComplexNDArray&)): | |
6291 Publish externally used friend function. | |
6292 (imag (const ComplexNDArray&)): Likewise. | |
6293 | |
9967 | 6294 * dMatrix.h (operator * (const ComplexMatrix&)): |
5508 | 6295 Move decl outside class. No need to be friend. |
6296 (real (const ComplexMatrix&)): Publish externally used friend function. | |
6297 (imag (const ComplexMatrix&)): Likewise. | |
6298 | |
6299 * CMatrix.h: (operator * (const ColumnVector&, const | |
6300 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
6301 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
6302 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
6303 Likewise. | |
6304 | |
5506 | 6305 2005-10-23 David Bateman <dbateman@free.fr> |
9967 | 6306 |
5506 | 6307 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero |
6308 elements need to be removed. | |
9967 | 6309 |
5506 | 6310 * oct-sparse.h.in: Include metis headers and some macros for long/int |
6311 versions of cholmod. | |
9967 | 6312 |
5506 | 6313 * CSparse.cc (tinverse): New private function for the inversion of |
6314 an upper triangular matrix. | |
6315 (dinverse): ditto for diagonal matrices. | |
6316 (inverse): Add SparseType as an argument. Implement matrix inverse | |
6317 using tinverse and dinverse. | |
6318 (fsolve): Use cholmod to implement Cholesky solver. | |
6319 * CSparse.h (tinverse, dinverse): Declarations | |
6320 (inverse): Alter declaration to include SparseType. | |
6321 | |
6322 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
6323 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
6324 | |
6325 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
9967 | 6326 |
5506 | 6327 * sparse-util.cc: New file for sparse utility functions. |
9967 | 6328 * sparse-util.h: New file with declarations of sparse utility |
5506 | 6329 functions. |
6330 | |
6331 * sparse-base-chol.cc: New file with sparse cholesky class based | |
6332 on cholmod. | |
6333 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
6334 class based on cholmod. | |
6335 | |
6336 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
6337 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
6338 | |
6339 * SparsedbleCHOL.cc: ditto. | |
6340 * SparsedbleCHOL.h: ditto. | |
6341 | |
6342 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
6343 (INCLUDES): Include sparse-util.h | |
6344 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
6345 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
9967 | 6346 |
5489 | 6347 2005-10-12 John W. Eaton <jwe@octave.org> |
6348 | |
6349 * oct-env.cc (octave_env::have_x11_display): New function. | |
6350 * oct-env.h: Provide decl. | |
6351 | |
5476 | 6352 2005-09-29 John W. Eaton <jwe@octave.org> |
6353 | |
6354 * file-stat.h (file_stat::mode): New function. | |
6355 | |
6356 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
6357 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
6358 file_stat::is_reg, file_stat::is_sock): New static functions. | |
6359 * file-stat.h: Provide decls. | |
6360 | |
6361 2005-09-28 John W. Eaton <jwe@octave.org> | |
6362 | |
6363 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
6364 * file-ops.h: Provide decl. | |
6365 | |
5454 | 6366 2005-09-19 David Bateman <dbateman@free.fr> |
6367 | |
6368 * oct-env.cc (octave_env::do_get_home_directory): | |
6369 Also check HOMEDRIVE under mingw. | |
6370 | |
5455 | 6371 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
6372 | |
5453 | 6373 2005-09-16 John W. Eaton <jwe@octave.org> |
6374 | |
6375 * oct-syscalls.cc: Include lo-utils.h here. | |
6376 (octave_syscalls::waitpid): Call octave_waitpid here. | |
6377 | |
6378 * lo-cutils.c (octave_waitpid): New function. | |
6379 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
6380 oct-syscalls.cc | |
9967 | 6381 |
5453 | 6382 |
6383 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
6384 waitpid in src/sysdep.h. Make this header C-compatible. | |
6385 | |
6386 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
6387 Change all uses. | |
6388 | |
5451 | 6389 2005-09-15 John W. Eaton <jwe@octave.org> |
6390 | |
6391 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
6392 | |
6393 * oct-sparse.h.in: New file. | |
6394 * Makefile.in (DISTFILES): Include it in the list. | |
6395 (INCLUDES): Add oct-sparse.h to the list. | |
6396 | |
6397 2005-09-15 David Bateman <dbateman@free.fr> | |
6398 | |
9967 | 6399 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc |
5451 | 6400 headers. Remove include of umfpack.h. |
6401 * CSparse.cc : ditto. | |
6402 * SparsedbleLU.cc : ditto. | |
6403 * SparseCmplxLU.cc : ditto. | |
6404 | |
6405 * COLAMD : Remove colamd files from octave. | |
6406 * COLAMD.files : delete. | |
6407 * COLAMD.README : delete. | |
6408 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
9967 | 6409 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks |
5451 | 6410 under mingw. |
6411 | |
6412 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
6413 in definition. | |
6414 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
6415 change of cast not allowed under g++ 3.x. | |
6416 * lo-utils.h (octave_w32_library_search): Declaration. | |
6417 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
6418 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
6419 | |
5442 | 6420 2005-09-07 John W. Eaton <jwe@octave.org> |
6421 | |
6422 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
6423 based on current code in Bash. Handle a few more escape | |
6424 sequences. Do a better job of decoding \W. | |
6425 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6426 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 6427 |
6428 * COLAMD: Update version of colamd to v2.4. | |
9967 | 6429 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
5438 | 6430 colamd.c for long version. |
6431 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6432 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 6433 |
6434 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
6435 mixed sparse/full multiply. | |
6436 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
6437 mixed sparse/full multiply. | |
6438 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
6439 mixed sparse/full multiply operators. | |
6440 | |
5420 | 6441 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
6442 | |
6443 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
6444 avoid warnings for unsigned types. | |
6445 | |
5404 | 6446 2005-07-07 John W. Eaton <jwe@octave.org> |
6447 | |
6448 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
6449 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
6450 | |
5392 | 6451 2005-06-15 John W. Eaton <jwe@octave.org> |
6452 | |
5394 | 6453 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
6454 Flush stdout here. | |
6455 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
6456 | |
5392 | 6457 * Array.h (Array::resize): Change int args to octave_idx_type. |
6458 | |
5386 | 6459 2005-06-14 John W. Eaton <jwe@octave.org> |
6460 | |
5389 | 6461 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
6462 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
6463 octave_is_NaN_or_NA to xisnan. | |
6464 | |
6465 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
6466 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
6467 | |
6468 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
6469 lo_ieee_isnan. | |
6470 | |
5387 | 6471 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
6472 value is greater than FLT_MAX. | |
6473 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
6474 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
6475 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
6476 | |
6477 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
6478 values too. | |
6479 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
6480 | |
6481 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
6482 NA, Inf values. | |
6483 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 6484 |
5385 | 6485 2005-06-14 David Bateman <dbateman@free.fr> |
6486 | |
5387 | 6487 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
6488 NA values. | |
6489 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 6490 |
5379 | 6491 2005-06-02 John W. Eaton <jwe@octave.org> |
6492 | |
6493 * Array.cc (assignN): Try harder to correctly resize previously | |
6494 empty LHS. | |
6495 | |
5351 | 6496 2005-05-16 David Bateman <dbateman@free.fr> |
6497 | |
6498 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
6499 * CSparse.h: ditto. | |
6500 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6501 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 6502 |
6503 * dSparse.cc (determinant): Free numeric factorization after | |
6504 sucessful calculation. | |
6505 * CSparse.cc (determinant): ditto. | |
6506 | |
5340 | 6507 2005-05-06 John W. Eaton <jwe@octave.org> |
6508 | |
6509 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
6510 chol_mat. | |
6511 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
6512 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
6513 Provide decls. | |
6514 | |
6515 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
6516 indexing chol_mat. | |
6517 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
6518 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
6519 Provide decls. | |
6520 | |
5338 | 6521 2005-05-05 John W. Eaton <jwe@octave.org> |
6522 | |
6523 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
6524 retval before return. | |
6525 | |
5336 | 6526 2005-05-04 John W. Eaton <jwe@octave.org> |
6527 | |
6528 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
6529 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
6530 | |
5330 | 6531 2005-05-02 John W. Eaton <jwe@octave.org> |
6532 | |
6533 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
6534 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
6535 | |
5322 | 6536 2005-04-29 David Bateman <dbateman@free.fr> |
6537 | |
5330 | 6538 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
6539 double. Correct indexing for upper diagonal elements for sparse | |
6540 tridiagonal. | |
5322 | 6541 * CSparse.cc (trisolve): ditto. |
6542 | |
5330 | 6543 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
6544 UMFPACK for 64-bit. | |
9967 | 6545 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
5322 | 6546 UMFPACK_ZNAME(*). |
6547 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
6548 | |
5330 | 6549 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
6550 UMFPACK for 64-bit. | |
9967 | 6551 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
5322 | 6552 UMFPACK_DNAME(*). |
6553 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
6554 | |
5330 | 6555 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
6556 triangular back/forward substitution code. | |
5322 | 6557 * CSparse.cc (ltsolve, utsolve): ditto. |
6558 | |
5330 | 6559 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
6560 from spparms("spumoni",1). | |
5322 | 6561 * CSparse.cc (solve): ditto |
6562 | |
5330 | 6563 * SparseType.cc (SparseType(void)): Print info for |
6564 spparms("spumoni",1). | |
5322 | 6565 (SparseType(const matrix_type), SparseType(const matrix_type, const |
6566 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
6567 const octave_idx_type, const octave_idx_type)): New constructors. | |
6568 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 6569 Detect row permuted lower triangular and column permuted upper |
6570 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 6571 |
6572 * SparseType.h: Simplify the permutation code. | |
6573 (SparseType(const matrix_type), SparseType | |
9967 | 6574 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
6575 SparseType(const matrix_type, const octave_idx_type, | |
5322 | 6576 const octave_idx_type)): Declarations. |
9967 | 6577 |
5304 | 6578 2005-04-25 John W. Eaton <jwe@octave.org> |
6579 | |
6580 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
6581 array and its contents. | |
6582 | |
5303 | 6583 2005-04-22 John W. Eaton <jwe@octave.org> |
6584 | |
6585 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
6586 const here now that rl_terminal_name is declared const char*. | |
6587 | |
5294 | 6588 2005-04-21 John W. Eaton <jwe@octave.org> |
6589 | |
6590 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
6591 | |
5285 | 6592 2005-04-19 John W. Eaton <jwe@octave.org> |
6593 | |
6594 * Array.cc (assignN): Don't crash if the index list is empty. | |
6595 | |
5282 | 6596 2005-04-14 David Bateman <dbateman@free.fr> |
6597 | |
6598 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
6599 * SparsedbleLU.cc: Ditto. | |
6600 * SparseCmplxLU.h: Definition. | |
6601 * SparsedbleLU.h: ditto. | |
6602 | |
6603 * SparseType.cc (transpose): New function. | |
6604 * SparseType.h (transpose): Definition. | |
9967 | 6605 |
5278 | 6606 2005-04-11 John W. Eaton <jwe@octave.org> |
6607 | |
6608 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
6609 fortran code that could end up calling XSTOPX. | |
6610 | |
5277 | 6611 2005-04-10 David Bateman <dbateman@free.fr> |
6612 | |
9967 | 6613 * Makefile.in: include oct-types in INCLUDES so that it is |
5277 | 6614 installed |
9967 | 6615 |
5275 | 6616 2005-04-08 John W. Eaton <jwe@octave.org> |
6617 | |
5276 | 6618 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
6619 | |
5275 | 6620 * Initial merge of 64-bit changes from Clinton Chee: |
6621 | |
6622 2005-04-07 John W. Eaton <jwe@octave.org> | |
6623 | |
6624 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
6625 | |
6626 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
6627 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
6628 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
6629 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
6630 Use octave_idx_type instead of int where needed. | |
6631 | |
6632 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
6633 | |
6634 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
6635 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6636 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6637 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
6638 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
6639 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
6640 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
6641 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
6642 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
6643 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
6644 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
6645 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
6646 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
6647 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
6648 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
6649 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
6650 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
6651 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
6652 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
6653 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
6654 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
6655 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
6656 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
6657 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
6658 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
6659 str-vec.cc, str-vec.h: | |
6660 Use octave_idx_type instead of int where needed. | |
6661 | |
6662 2005-04-01 John W. Eaton <jwe@octave.org> | |
6663 | |
6664 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
6665 | |
6666 * oct-types.h.in: New file. | |
6667 | |
6668 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
6669 | |
6670 * lo-utils.cc (NINTbig): New function. | |
6671 * lo-utils.h: Provide decl. | |
6672 | |
5269 | 6673 2005-04-06 David Bateman <dbateman@free.fr> |
6674 | |
6675 * Makefile.in: Link to UMFPACK_LIBS. | |
6676 | |
5265 | 6677 2005-04-05 John W. Eaton <jwe@octave.org> |
6678 | |
6679 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
6680 | |
5264 | 6681 2005-04-01 John W. Eaton <jwe@octave.org> |
6682 | |
6683 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
6684 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
6685 when resizing A. When performing the assignment, just check that | |
6686 the number of elements in RHS matches the number of elements | |
6687 indexed by IDX-LIST. | |
6688 | |
5260 | 6689 2005-03-30 John W. Eaton <jwe@octave.org> |
6690 | |
5261 | 6691 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
6692 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
6693 | |
6694 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
6695 dSparse.cc: Use std:: for Complex functions instead of relying on | |
6696 wrappers from oct-cmplx.h. | |
5260 | 6697 |
6698 * oct-cmplx.h: Provide typedef only. | |
6699 | |
6700 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
6701 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
6702 Likewise. | |
6703 | |
5247 | 6704 2005-03-26 John W. Eaton <jwe@octave.org> |
6705 | |
6706 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
6707 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
6708 | |
5209 | 6709 2005-03-15 John W. Eaton <jwe@octave.org> |
6710 | |
6711 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
6712 | |
5203 | 6713 2005-03-14 John W. Eaton <jwe@octave.org> |
6714 | |
6715 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
6716 (DISTDIRS): Don't include UMFPACK. | |
6717 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
6718 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
6719 flags for these files. | |
6720 Don't include include $(srcdir)/UMFPACK.files. | |
6721 Don't include include $(srcdir)/UMFPACK.rules. | |
6722 | |
6723 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
6724 Delete files. | |
6725 * UMFPACK: Delete directory tree. | |
6726 | |
6727 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
6728 * CSparse.cc: Likewise. | |
6729 * SparsedbleLU.cc: Likewise. | |
6730 * SparseCmplxLU.cc: Likewise. | |
6731 | |
6732 2005-03-14 David Bateman <dbateman@free.org> | |
6733 | |
6734 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
6735 Allow compilation to succeed if UMFPACK is not available. | |
6736 | |
5196 | 6737 2005-03-09 John W. Eaton <jwe@octave.org> |
6738 | |
6739 * Makefile.in (bin-dist): Delete target. | |
6740 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
6741 | |
5173 | 6742 2005-03-01 John W. Eaton <jwe@octave.org> |
6743 | |
6744 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
6745 * Makefile.in: Remove them from the lists. | |
6746 | |
5169 | 6747 2005-02-28 John W. Eaton <jwe@octave.org> |
6748 | |
6749 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
6750 | |
5167 | 6751 2005-02-27 David Bateman <dbateman@free.org> |
6752 | |
5169 | 6753 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
6754 in the sparse matrix. | |
9967 | 6755 |
5164 | 6756 2005-02-25 John W. Eaton <jwe@octave.org> |
6757 | |
6758 Sparse merge. | |
6759 | |
6760 2005-02-13 David Bateman <dbateman@free.fr> | |
6761 | |
6762 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
6763 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
6764 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
9967 | 6765 solver into separate functions for the diagonal, upper, lower |
5164 | 6766 triangular, tridiagonal, banded and full cases. |
6767 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
6768 version that probes the matrix type and another that assumes the type | |
6769 is passed. | |
6770 | |
6771 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
6772 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
6773 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
6774 (SparseMatrix::solve): Likewise | |
6775 | |
6776 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
6777 Declaration of new functions | |
6778 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
6779 Likewise | |
6780 | |
6781 * CSparse.cc (operator !): Reverse the sense of the test. | |
6782 * dSpase.cc (operator !): Likewise | |
6783 | |
6784 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6785 triangular_col_perm, sparse_info): Remove matrix type code | |
6786 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6787 triangular_col_perm, sparse_info): Likewise | |
6788 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6789 triangular_col_perm, sparse_info): Likewise | |
6790 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6791 triangular_col_perm, sparse_info): Likewise | |
6792 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
6793 triangular_col_perm, sparse_info, matrix_type): Likewise | |
6794 | |
6795 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
9967 | 6796 |
5164 | 6797 * SparseType.h: New class for the matrix type used in solvers |
6798 * SparseType.cc: methods of sparse matrix type class | |
9967 | 6799 |
5164 | 6800 * Makefile.in: Add SparseType.cc |
6801 | |
6802 2005-02-01 David Bateman <dbateman@free.fr> | |
6803 | |
6804 * UMFPACK: Update to version 4.4 | |
6805 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
6806 keep octave specific test files | |
6807 | |
6808 2005-01-23 David Bateman <dbateman@free.fr> | |
6809 | |
6810 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
6811 tridiagonal and banded cholesky solvers. Remove calculation of | |
6812 condition number for banded solvers. | |
6813 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
6814 | |
6815 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
6816 new functions. | |
6817 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
6818 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
6819 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
9967 | 6820 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
5164 | 6821 ditto |
6822 | |
9967 | 6823 * Sparse.cc (int Sparse<T>::type (int) const, |
5164 | 6824 bool Sparse<T>::is_dense (void) const): New functions definition |
9967 | 6825 |
5164 | 6826 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
6827 so it actually is cached, but disable | |
6828 | |
6829 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
6830 for compatiability | |
9967 | 6831 |
5164 | 6832 2005-01-18 David Bateman <dbateman@free.fr> |
6833 | |
6834 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
6835 Modify calculation of number elements to skip between copied blocks. | |
6836 | |
6837 2005-01-07 David Bateman <dbateman@free.fr> | |
6838 | |
6839 * Sparse.h : Reverse definitions of numel and nelem. | |
6840 * Sparse.cc (assign1): Use numel and not nelem | |
6841 * Sparse-op-def.h: Replace all uses of nelem with numel | |
9967 | 6842 |
5164 | 6843 2005-01-07 David Bateman <dbateman@free.fr> |
6844 | |
6845 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
9967 | 6846 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
5164 | 6847 ComplexDET |
9967 | 6848 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
5164 | 6849 by DET |
6850 * dSparse.h (determinant): ditto | |
9967 | 6851 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
5164 | 6852 SparseComplexDET by ComplexDET |
6853 * CSparse.h (determinant): ditto | |
9967 | 6854 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
5164 | 6855 SparseCmplxDET.cc: delete files |
6856 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
6857 SparseCmplxDET.h andSparseCmplxDET.cc. | |
6858 | |
9967 | 6859 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
5164 | 6860 local variable to avoid variable shadowing. |
6861 * dSparse.cc (SparseMatrix::solve): ditto. | |
9967 | 6862 |
6863 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
5164 | 6864 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
9967 | 6865 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
6866 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
6867 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
5164 | 6868 sparse-sort.h: Remove additional licensing clause with authors |
6869 permission. | |
9967 | 6870 |
5164 | 6871 2004-12-30 John W. Eaton <jwe@octave.org> |
6872 | |
6873 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
6874 Loop counter is int, not size_t. | |
6875 | |
6876 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
6877 | |
6878 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
6879 | |
6880 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
6881 Delete unused variables. | |
6882 (SparseMatrix::solve): Avoid warnings about uninitialized | |
6883 variables and variables that might be clobbered by longjmp. | |
6884 | |
6885 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
6886 min, max): Delete unused variables. | |
6887 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
6888 variables and variables that might be clobbered by longjmp. | |
6889 | |
6890 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
6891 | |
6892 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
6893 Loop counter is int, not size_t. | |
6894 | |
6895 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
6896 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
9967 | 6897 |
5164 | 6898 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
6899 lists consistently. | |
6900 | |
6901 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
6902 | |
6903 2004-12-29 John W. Eaton <jwe@octave.org> | |
6904 | |
6905 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
6906 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
6907 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
6908 $(UMFPACK_EXTRAS) to the list. | |
6909 (DISTDIRS): New variable. | |
6910 (dist): Handle $(DISTDIRS). | |
6911 | |
9967 | 6912 Merge of sparse code from David Bateman <dbateman@free.fr> and |
5164 | 6913 Andy Adler <adler@site.uottawa.ca>. |
6914 | |
6915 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
6916 | |
6917 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
6918 without directory prefix. | |
6919 | |
6920 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
6921 $(UMFPACK_OBJ) to the list. | |
6922 | |
6923 * COLAMD: New directory. | |
6924 * COLAMD.files: New file. | |
6925 * Makefile.in: Include COLAMD.files. | |
6926 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
6927 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
6928 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
6929 | |
6930 * UMFPACK: New directory. | |
6931 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
6932 New files. | |
6933 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
6934 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
6935 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
6936 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
6937 | |
6938 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
6939 (INCLUDES): Add it to the list. | |
6940 (SPARSE_MX_OP_SRC): New variable. | |
6941 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
6942 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
6943 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
6944 | |
6945 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
6946 * Makefile.in (DISTFILES): Add them to the lists. | |
6947 | |
6948 * oct-spparms.h, sparse-sort.h: New files. | |
6949 * Makefile.in (INCLUDES): Add them to the list. | |
6950 | |
6951 * oct-spparms.cc, sparse-sort.cc: New files. | |
6952 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
6953 | |
6954 * sparse-base-lu.cc: New file. | |
6955 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
6956 | |
6957 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
6958 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
6959 SparsedbleLU.cc: New files. | |
6960 * Makefile.in (MATRIX_SRC): Add them to the list. | |
9967 | 6961 |
5164 | 6962 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
6963 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
6964 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
6965 Sparse-op-defs.h: New files. | |
6966 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
6967 | |
6968 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
6969 Sparse-C.cc: New files. | |
6970 * Makefile.in (TI_SRC): Add them to the list. | |
6971 | |
5149 | 6972 2005-02-18 John W. Eaton <jwe@octave.org> |
6973 | |
6974 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
6975 Pass current directory to octave_env::make_absolute. | |
6976 Save value returned from octave_env::make_absolute in local var. | |
6977 Pass const char*, not std::string as first arg of resolvepath. | |
6978 Provide decl for resolved_len. | |
6979 | |
5148 | 6980 2005-02-18 John W. Eaton <jwe@octave.org> |
6981 | |
6982 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
6983 than number of dimenensions of permuted matrix. | |
6984 | |
6985 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
6986 * Array-util.cc (calc_permutated_idx): Likewise. | |
6987 | |
5139 | 6988 2005-02-10 David Bateman <dbateman@free.fr> |
6989 | |
6990 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
6991 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
6992 | |
5137 | 6993 2005-02-09 John W. Eaton <jwe@octave.org> |
6994 | |
5138 | 6995 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
6996 * file-ops.h: Provide decls. | |
6997 | |
5137 | 6998 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
6999 | |
5136 | 7000 2005-02-08 John W. Eaton <jwe@octave.org> |
7001 | |
7002 * Array-util.cc (freeze): Improve error message. | |
7003 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7004 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 7005 |
5121 | 7006 * Array.cc (Array<T>::insert): Handle generic case, not just |
7007 special case for fast concatenation. | |
5120 | 7008 |
5110 | 7009 2005-01-18 John W. Eaton <jwe@octave.org> |
7010 | |
7011 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
7012 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
7013 | |
7014 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
7015 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
7016 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7017 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 7018 |
7019 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
7020 Modify calculation of number elements to skip between copied blocks. | |
7021 | |
7022 2005-01-18 John W. Eaton <jwe@octave.org> | |
7023 | |
7024 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
7025 error handler, to warn about resizing. | |
7026 | |
5105 | 7027 2004-12-27 Martin Dalecki <martin@dalecki.de> |
7028 | |
7029 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
7030 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
7031 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
7032 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
7033 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
7034 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
7035 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
7036 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
7037 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
7038 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
7039 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
7040 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
7041 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
7042 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
7043 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
7044 Delete #pragma implementation. | |
7045 | |
7046 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
7047 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
7048 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
7049 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
7050 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
7051 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
7052 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
7053 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
7054 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
7055 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
7056 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
7057 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
7058 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
7059 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
7060 Delete #pragma interface. | |
7061 | |
5098 | 7062 2004-12-17 John W. Eaton <jwe@octave.org> |
7063 | |
7064 * lo-cieee.c (lo_ieee_signbit): New function. | |
7065 * lo-ieee.h: Provide decl. | |
7066 Don't define lo_ieee_signbit as a macro here. | |
7067 From Orion Poplawski <orion@cora.nwra.com>. | |
7068 | |
5085 | 7069 2004-11-18 John W. Eaton <jwe@octave.org> |
7070 | |
7071 * int32NDArray.cc (pow): Delete instantiation. | |
7072 * int16NDArray.cc (pow): Likewise. | |
7073 * int8NDArray.cc (pow): Likewise. | |
7074 * uint32NDArray.cc (pow): Likewise. | |
7075 * uint16NDArray.cc (pow): Likewise. | |
7076 * uint8NDArray.cc (pow): Likewise. | |
7077 | |
5081 | 7078 2004-11-17 John W. Eaton <jwe@octave.org> |
7079 | |
5085 | 7080 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
7081 Now static. | |
7082 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
7083 DEFAULT_TEXMFDBS): Delete unused macros. | |
7084 | |
5081 | 7085 * Array.cc (Array<T>::index): Call generic N-d indexing function |
7086 if idx_arg is N-d. | |
7087 | |
5073 | 7088 2004-11-09 David Bateman <dbateman@free.fr> |
7089 | |
7090 * dNDArray.cc (concat): Delete. | |
7091 (NDArray::concat): New methods. | |
7092 * dNDArray.h: Provide decls. | |
7093 | |
7094 * CNDArray.cc (concat): Delete. | |
7095 (ComplexNDArray::concat): New methods. | |
7096 * CNDArray.h: Provide decls. | |
7097 | |
7098 * boolNDArray.cc (concat): Delete. | |
7099 (boolNDArray::concat): New methods. | |
7100 * boolNDArray.h: Provide decls. | |
7101 | |
7102 * chNDArray.cc (concat): Delete. | |
7103 (charNDArray::concat): New methods. | |
7104 * chNDArray.h: Provide decls. | |
7105 | |
7106 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
7107 Delete macros. | |
7108 | |
7109 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
7110 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
7111 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
7112 | |
7113 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
7114 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
7115 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
7116 | |
7117 * intNDArray.cc (intNDArray<T>::concat): New method. | |
7118 * intNDArray.h: Provide decl. | |
7119 | |
5072 | 7120 2004-11-08 John W. Eaton <jwe@octave.org> |
7121 | |
7122 * oct-inttypes.cc: New file. | |
7123 * Makefile.in (TI_SRC): Add it to the list. | |
7124 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
7125 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
7126 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
7127 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
7128 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
7129 New macros for comparison operations. Avoid potential | |
7130 problems with default conversions when comparing signed and | |
7131 unsigned values. | |
7132 | |
5061 | 7133 2004-11-03 John W. Eaton <jwe@octave.org> |
7134 | |
7135 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
7136 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
7137 | |
5052 | 7138 2004-10-19 John W. Eaton <jwe@octave.org> |
7139 | |
7140 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
7141 | |
5047 | 7142 2004-10-18 John W. Eaton <jwe@octave.org> |
7143 | |
7144 * Array.cc (assign2): Save result of squeeze operation. | |
7145 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
7146 | |
5095 | 7147 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 7148 |
7149 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
7150 flag whether transform in- or out-of-place. | |
7151 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
7152 (octave_fftw_planner::create_plan): Use it. | |
7153 | |
5039 | 7154 2004-09-24 John W. Eaton <jwe@octave.org> |
7155 | |
7156 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
7157 any empty matrix, not just []. | |
7158 | |
5030 | 7159 2004-09-23 John W. Eaton <jwe@octave.org> |
7160 | |
7161 * mx-ops: Include scalar zero value in type definitions. | |
7162 Delete zero information from ops section. | |
7163 * mk-ops.awk: Use type-specific zero info. | |
7164 | |
7165 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
7166 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
7167 LHS and RHS. | |
7168 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
7169 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
7170 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
7171 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
7172 | |
7173 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
7174 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
7175 tree_to_mat_idx. | |
7176 | |
7177 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
7178 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
7179 Likewise for the "if (b_val & one)" test. | |
7180 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
7181 | |
5029 | 7182 2004-09-23 David Bateman <dbateman@free.fr> |
7183 | |
7184 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
7185 New macros. Use them to define mixed intX-double and double-intX ops. | |
7186 | |
5021 | 7187 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
7188 | |
7189 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
7190 Fix doc string layout to avoid overfull hbox in printed output. | |
7191 | |
5015 | 7192 2004-09-21 John W. Eaton <jwe@octave.org> |
7193 | |
7194 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
7195 * mach-info.cc (octave_mach_info::string_to_float_format): | |
7196 For "native", set actual native format. | |
7197 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
7198 | |
5008 | 7199 2004-09-17 David Bateman <dbateman@free.fr> |
7200 | |
7201 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
7202 calculation of the unitary matrix optional. | |
7203 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
7204 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
7205 | |
4998 | 7206 2004-09-15 David Bateman <dbateman@free.fr> |
7207 | |
7208 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
7209 New function to set the comparison function for the sort. | |
7210 | |
4985 | 7211 2004-09-10 John W. Eaton <jwe@octave.org> |
7212 | |
7213 * lo-mappers.cc (xround): Fix typo. | |
7214 | |
4979 | 7215 2004-09-08 John W. Eaton <jwe@octave.org> |
7216 | |
7217 * Array.h (Array::~Array): Declare virtual. | |
7218 | |
7219 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
7220 initializaion list. Don't set rep->count since the rep | |
7221 constructor does that. | |
7222 | |
4968 | 7223 2004-09-07 John W. Eaton <jwe@octave.org> |
7224 | |
4970 | 7225 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
7226 (oct_data_conv::data_type_as_string): Likewise. | |
7227 | |
7228 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
7229 | |
4968 | 7230 * Range.cc (round): Delete unused function. |
7231 | |
7232 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
7233 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
7234 | |
7235 * oct-inttypes.h: Include <cmath> here. | |
7236 | |
4964 | 7237 2004-09-03 David Bateman <dbateman@free.fr> |
7238 | |
7239 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
7240 New functions for boolean matrix concatenation. | |
7241 * boolNDArray.h: Provide decls. | |
7242 | |
4963 | 7243 2004-09-03 John W. Eaton <jwe@octave.org> |
7244 | |
4964 | 7245 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
7246 to avoid signed/unsigned int comparison problems. | |
7247 | |
7248 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
7249 for mixed integer and double types. | |
7250 | |
7251 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
7252 separately, and only if needed. | |
7253 | |
4963 | 7254 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
7255 static_cast for type conversion. | |
7256 | |
4953 | 7257 2004-09-01 John W. Eaton <jwe@octave.org> |
7258 | |
7259 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
7260 operator /): Handle mixed integer/double ops. If op generates a | |
7261 NaN, set result to 0. | |
7262 (octave_int::operator - (void)): Convert to double, then negate, | |
7263 then fit to range. | |
7264 | |
7265 * mx-ops: Define integer types. Include declarations for mixed | |
7266 integer/double ops. | |
7267 | |
4952 | 7268 2004-08-31 John W. Eaton <jwe@octave.org> |
7269 | |
7270 * oct-inttypes.h (pow): Args now const reference. | |
7271 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
7272 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
7273 New member functions. | |
7274 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
7275 (operator >> (const octave_int<T1>& x, const T2& y)): | |
7276 Define in terms of >>=. | |
7277 (operator << (const octave_int<T1>& x, const T2& y)): | |
7278 Define in terms of <<=. | |
7279 (bitshift): Operate on octave_int<T> objects, not the values, so | |
7280 we get proper saturation properties. | |
7281 | |
7282 2004-08-31 David Bateman <dbateman@free.fr> | |
7283 | |
7284 * oct-inttypes.h (pow (constT, T)): New template. | |
7285 | |
9967 | 7286 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
4952 | 7287 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
7288 | |
4949 | 7289 2004-08-31 John W. Eaton <jwe@octave.org> |
7290 | |
7291 * oct-inttypes.h (octave_int::byte_size): New function. | |
7292 | |
4944 | 7293 2004-08-31 John W. Eaton <jwe@octave.org> |
7294 | |
4946 | 7295 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
7296 | |
4944 | 7297 * data-conv.h (oct_data_conv::data_type): Include sized types. |
7298 Explicitly number enum elements. | |
7299 | |
7300 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
7301 std::string&, int&, oct_data_conv::data_type&, | |
7302 oct_data_conv::data_type&)): New function. | |
7303 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
7304 oct_data_conv::data_type&)): New function. | |
7305 (oct_data_conv::data_type_as_string): New function. | |
7306 | |
7307 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
7308 (write_int, do_write, Matrix::write): Delete. | |
7309 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
7310 | |
7311 * byte-swap.h: Use template functions and specialization. | |
7312 Change all uses. | |
7313 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
7314 | |
4943 | 7315 2004-08-30 John W. Eaton <jwe@octave.org> |
7316 | |
7317 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
7318 specializations to avoid warnings about signed/unsigned comparisons. | |
7319 | |
7320 2004-08-28 John W. Eaton <jwe@octave.org> | |
7321 | |
7322 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
7323 size_t, int, oct_mach_info::float_format)): New function. | |
7324 (GET_SIZED_INT_TYPE): New macro. | |
7325 (string_to_data_type): Use it to return sized types corresponding | |
7326 to Octave array data types. | |
7327 (strip_spaces): New function. | |
7328 (do_double_format_conversion, do_float_format_conversion): Pass | |
7329 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
7330 float format. | |
7331 (do_double_format_conversion, | |
7332 IEEE_big_double_to_IEEE_little_double, | |
7333 VAX_D_double_to_IEEE_little_double, | |
7334 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
7335 IEEE_little_double_to_IEEE_big_double, | |
7336 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
7337 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
7338 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
7339 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
7340 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
7341 Cray_to_VAX_G_double): | |
7342 Pass data as void*, not double*. | |
7343 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
7344 VAX_D_float_to_IEEE_little_float, | |
7345 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
7346 IEEE_little_float_to_IEEE_big_float, | |
7347 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
7348 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
7349 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
7350 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
7351 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
7352 Cray_to_VAX_G_float): | |
7353 Pass data as void*, not float*. | |
7354 | |
7355 2004-08-27 John W. Eaton <jwe@octave.org> | |
7356 | |
7357 * byte-swap.h (swap_bytes): New template versions, with | |
7358 specializations. | |
7359 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
7360 Change all uses. | |
7361 | |
4940 | 7362 2004-08-24 David Bateman <dbateman@free.fr> |
7363 | |
7364 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
7365 empty instead of checking final matrix. | |
7366 * dNDArray.cc (concat): Likewise. | |
7367 * CNDArray.cc (concat): Likewise. | |
7368 | |
7369 2004-08-23 David Bateman <dbateman@free.fr> | |
7370 | |
9967 | 7371 * dim-vector.h (dim_vector::concat): Correct incrementation for |
4940 | 7372 non-existent dimensions. |
7373 | |
4938 | 7374 2004-08-09 John W. Eaton <jwe@octave.org> |
7375 | |
7376 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
9967 | 7377 (const octave_int<U>&)): New member function. |
4938 | 7378 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
7379 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
7380 Now member functions instead of static in idx-vector.cc. | |
7381 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
7382 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
7383 New template constructors. | |
7384 | |
4932 | 7385 2004-08-05 John W. Eaton <jwe@octave.org> |
7386 | |
4933 | 7387 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
7388 | |
4932 | 7389 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
7390 intNDArray<T>::any): Sprinkle with this-> as needed. | |
7391 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
7392 | |
4929 | 7393 2004-08-03 John W. Eaton <jwe@octave.org> |
7394 | |
7395 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
7396 arrays with more than two dimensions and only one non-singleton | |
7397 dimension, return a column vector. | |
7398 | |
4921 | 7399 2004-07-28 John W. Eaton <jwe@octave.org> |
7400 | |
7401 * oct-cmplx.h (pow (const Complex&, const double&): | |
7402 Convert second arg to complex to avoid libstdc++ bug. | |
7403 | |
4920 | 7404 2004-07-27 John W. Eaton <jwe@octave.org> |
7405 | |
7406 * oct-inttypes.h (bitshift): New arg, MASK. | |
7407 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
7408 | |
4916 | 7409 2004-07-23 John W. Eaton <jwe@octave.org> |
7410 | |
7411 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
7412 | |
4915 | 7413 2004-07-23 David Bateman <dbateman@free.fr> |
7414 | |
7415 * Array.cc, Array.h (cat_ra): Delete. | |
9967 | 7416 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
4915 | 7417 (INSTANTIATE_ARRAY_CAT): Delete. |
7418 | |
9967 | 7419 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
4915 | 7420 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
9967 | 7421 |
4915 | 7422 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
7423 | |
9967 | 7424 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
4915 | 7425 chNDArray.h (concat): New function used for concatenation that does |
7426 an indexed copy of one array into another. | |
7427 | |
7428 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
7429 | |
7430 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
9967 | 7431 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
4915 | 7432 insertion of one NDArray into another. |
7433 | |
7434 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
7435 macros to define the int/uint concatenation functions. | |
7436 | |
7437 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
7438 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
7439 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
7440 | |
7441 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
7442 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
7443 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
7444 functions. | |
7445 | |
4911 | 7446 2004-07-22 David Bateman <dbateman@free.fr> |
7447 | |
7448 * oct-sort.h: Don't include oct-obj.h. | |
7449 | |
7450 * lo-specfun.cc (is_integer_value): New function. | |
7451 (zbesj, zbesi, zbesy): Special case negative integer or half | |
7452 integer orders that cause overflow for small arguments. | |
7453 | |
4909 | 7454 2004-07-12 John W. Eaton <jwe@octave.org> |
7455 | |
7456 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
7457 (bitshift (const octave_int<T>&, int)): New function. | |
7458 | |
4902 | 7459 2004-06-14 John W. Eaton <jwe@octave.org> |
7460 | |
7461 * mx-base.h: Include headers for new int types. | |
7462 | |
7463 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
7464 NDArray::NDArray (const charNDArray&)): Delete. | |
7465 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
7466 constructor. | |
7467 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
7468 | |
7469 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
7470 return type conversion. | |
7471 | |
7472 * ComplexNDArray.h, ComplexNDArray.cc | |
7473 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
7474 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
7475 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
7476 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
9967 | 7477 |
4902 | 7478 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
7479 | |
7480 * MArrayN.h: | |
7481 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
7482 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
7483 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
7484 New constructors. | |
7485 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
7486 ArrayN<T>::squeeze): | |
7487 New forwarding functions for return type conversion. | |
7488 | |
7489 * ArrayN.h: | |
7490 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
7491 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
7492 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
7493 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
7494 const dim_vector&)): New constructors. | |
7495 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
7496 ArrayN<T>::transpose): | |
7497 New forwarding functions for return type conversion. | |
7498 | |
7499 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
7500 New constructor. | |
7501 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
7502 | |
7503 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
7504 | |
7505 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
7506 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
7507 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
7508 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
7509 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
7510 * Makefile.in: Add them to the appropriate lists. | |
7511 | |
4899 | 7512 2004-06-04 John W. Eaton <jwe@octave.org> |
7513 | |
7514 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
7515 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
7516 resize op. Change all uses. | |
7517 | |
4898 | 7518 2004-06-03 David Bateman <dbateman@free.fr> |
7519 | |
7520 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
7521 greater than the existing number of dimensions in lvalue. | |
7522 | |
4887 | 7523 2004-04-30 David Bateman <dbateman@free.fr> |
7524 | |
9967 | 7525 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
4887 | 7526 New arg, fill_value. |
7527 (dim_vector::resize): Allow optional fill_value argument. | |
7528 | |
9967 | 7529 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
4887 | 7530 Don't chop trailing dimensions of Array<idx_vector> if there is |
7531 more than one element in idx_vector. Resize the return value to | |
7532 the size of Array<idx_vector>. | |
7533 | |
7534 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
7535 idx_vector that is shorter than a dim_vector. | |
7536 | |
4882 | 7537 2004-04-23 John W. Eaton <jwe@octave.org> |
7538 | |
7539 * oct-sort.cc: Don't include oct-obj.h. | |
7540 | |
4876 | 7541 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7542 | |
7543 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
7544 Don't set invalid dimensions on return value. | |
7545 | |
4871 | 7546 2004-04-21 John W. Eaton <jwe@octave.org> |
7547 | |
7548 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
7549 | |
4850 | 7550 2004-04-06 David Bateman <dbateman@free.fr> |
7551 | |
4870 | 7552 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
7553 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
7554 Make their behavior equivalent except for filling vs. not filling. | |
7555 | |
4850 | 7556 * oct-sort.cc: New template class for arbitrary sorting. |
7557 * oct-sort.h: Declaration of sort class. | |
7558 * Makefile: Add them to the appropriate lists. | |
7559 | |
4845 | 7560 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7561 | |
7562 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
7563 | |
4844 | 7564 2004-04-02 David Bateman <dbateman@free.fr> |
7565 | |
9967 | 7566 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
4844 | 7567 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852 | 7568 New N-d array versions. |
4844 | 7569 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
9967 | 7570 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
4844 | 7571 besselh2, airy, biry, betainc, gammainc): Provide decls. |
9967 | 7572 |
4844 | 7573 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
7574 New functions. | |
7575 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
7576 | |
7577 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
7578 New functions. | |
9967 | 7579 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
4844 | 7580 Provide decls. |
7581 | |
4842 | 7582 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
7583 | |
7584 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
7585 work vector, not just when using a numerical Jacobian. | |
7586 | |
4834 | 7587 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7588 | |
4835 | 7589 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
7590 Omit empty result args. | |
7591 | |
4834 | 7592 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
7593 Move here from Array.h, check that size of array arg is not | |
7594 smaller than the size defined by the new dimensions. | |
7595 | |
4832 | 7596 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7597 | |
7598 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
7599 a scalar or vector with an N-d array. | |
7600 | |
4826 | 7601 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7602 | |
4828 | 7603 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
7604 matrix, return object that is the same size as the index. | |
7605 | |
4826 | 7606 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
7607 Eliminate MT_RESULT args. Return value is always size of args. | |
7608 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
7609 Eliminate EMPTY_RESULT arg. | |
7610 Return value is always size of matrix or N-d array arg. | |
7611 (TBM, FBM, NBM): Delete unused macros. | |
7612 | |
4821 | 7613 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7614 | |
7615 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
7616 if all LHS dimensions are zero. For one index case, freeze and | |
7617 sort idx_vec before checking length, and do nothing if | |
7618 num_to_delete is zero. | |
4822 | 7619 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 7620 |
4816 | 7621 2004-03-04 David Bateman <dbateman@free.fr> |
7622 | |
7623 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
7624 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
7625 | |
4811 | 7626 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
7627 | |
7628 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
7629 element. | |
7630 | |
7631 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7632 | |
7633 * Range.h (Range::Range): Add cache to member initialization list. | |
7634 (Range::clear_cache): New private function. | |
7635 | |
7636 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
7637 Use clear cache. Don't do anything if range does not change. | |
7638 * Range.cc (Range::sort): Likewise. | |
7639 | |
4810 | 7640 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
7641 | |
7642 * Range.cc (Range::matrix_value): Cache result. | |
7643 (Range::sort): Clear cache. | |
7644 * Range.h (Range::cache): New data member. | |
7645 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
7646 (Range::print_range): Delete. | |
4808 | 7647 |
7648 2004-03-02 David Bateman <dbateman@free.fr> | |
9967 | 7649 |
4808 | 7650 * oct-fftw.cc: Only two versions of plan, and avoid endless |
7651 changes between them. Faster for small fft's. | |
7652 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
9967 | 7653 New member variables. |
4808 | 7654 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
7655 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
7656 Change all uses. | |
7657 (CHECK_SIMD_ALIGNMENT): New macro. | |
7658 (octave_fftw_planner::create_plan): Use it. | |
7659 | |
4806 | 7660 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
7661 | |
7662 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
7663 | |
9967 | 7664 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
7665 | |
7666 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
7667 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
7668 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
7669 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
7670 | |
7671 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
7672 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4806 | 7673 |
4800 | 7674 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7675 | |
4802 | 7676 * oct-rl-edit.c (octave_rl_set_startup_hook, |
7677 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
7678 octave_rl_get_event_hook): Omit casts. | |
7679 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
7680 Return value for function pointer typedef is now int. | |
7681 * cmd-edit.h (command_editor::startup_hook_fcn, | |
7682 command_editor::event_hook_fcn): Likewise. | |
7683 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
7684 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
7685 Return type is now int. Return 0. | |
7686 | |
4800 | 7687 * EIG.cc (EIG::init, EIG::symmetric_init): |
7688 Query Lapack for workspace size. | |
7689 | |
4796 | 7690 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7691 | |
9967 | 7692 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
4796 | 7693 Fix thinko in extending dimensions. |
7694 | |
4791 | 7695 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7696 | |
7697 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
7698 Don't compute values beyond the limits of the range. | |
7699 (operator << (std::ostream&, const Range&)): Likewise. | |
7700 | |
4786 | 7701 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7702 | |
4788 | 7703 * oct-fftw.cc (octave_fftw_planner::create_plan): |
7704 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
7705 From Paul Kienzle <pkienzle@users.sf.net>. | |
7706 | |
4786 | 7707 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
7708 Rename from Array<T>::insert. | |
7709 (Array<T>::insert2 (const Array<T>&, int, int)): | |
7710 Reinstate old Array<T>::insert function under this name. | |
7711 (Array<T>::insert (const Array<T>&, int, int)): | |
7712 New function. Dispatch to insert2 or insertN as appropriate. | |
7713 | |
4785 | 7714 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7715 | |
9967 | 7716 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
4785 | 7717 Sprinkle with OCTAVE_QUIT. |
7718 | |
5095 | 7719 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 7720 |
7721 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
7722 Add support for FFTW 3.x. Include the ability to | |
7723 use the real to complex transform for fft's of real matrices | |
7724 (octave_fftw_planner::create_plan2d): Delete. | |
7725 (octave_fftw::fft2d): Delete. | |
7726 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
7727 New static functions. | |
7728 * oct-fftw.h: Update decls. | |
7729 | |
7730 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
7731 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
7732 transforms. 1D FFT of a matrix done as single call rather than | |
7733 loop. Update for FFTW 3.x | |
7734 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
7735 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
7736 matrix done as single call rather than loop. Update for FFTW 3.x. | |
7737 | |
7738 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
7739 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
7740 functions for Nd arrays. | |
7741 * dNArray.h Provide decls. | |
7742 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
7743 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
7744 fourier transform functions for complex Nd arrays. | |
7745 * CNArray.h: Provide decls. | |
9967 | 7746 |
4765 | 7747 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
7748 | |
7749 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
7750 Make it work for N-d arrays. | |
7751 | |
7752 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
7753 New function. | |
7754 | |
7755 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
7756 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
7757 New functions. | |
7758 * CNDArray.h: Provide decls. | |
7759 | |
4759 | 7760 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7761 | |
4760 | 7762 * Makefile.in (LINK_DEPS): Always define. |
7763 | |
4759 | 7764 * Array.cc (Array<T>::squeeze): Always return an array with at |
7765 least two dimensions. | |
7766 | |
4758 | 7767 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
7768 | |
7769 * mx-inlines.cc (MX_ND_CAT): New macro. | |
7770 * dNDArray.cc (NDArray::cat): New function. | |
7771 * dNDArray.h: Provide decls. | |
7772 * CNDArray.cc (complexNDArray::cat): New function. | |
7773 * CNDArray.h: Provide decls. | |
7774 * chNDArray.cc (charNDArray::cat): New function. | |
7775 * chNDArray.h: Provide decls. | |
7776 | |
4756 | 7777 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7778 | |
7779 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
7780 (Array<T>assign2): Also call maybe_delete_elements for single | |
7781 index when rows and columns or LHS are both greater than 1. | |
7782 | |
4755 | 7783 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
7784 | |
7785 * Array.cc (Array<T>::maybe_delete_elements): | |
7786 Check for index out of bounds. Handle one index. | |
7787 | |
7788 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
7789 dim_vector (0) to create empty return vector. | |
7790 | |
4749 | 7791 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7792 | |
7793 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
7794 non-empty LHS when the number of lhs dimensions is less than the | |
7795 number of indices. Detect error if attempting to resize non-empty | |
7796 LHS with colon indices. | |
7797 | |
4745 | 7798 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7799 | |
4747 | 7800 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
7801 values unless the length of the new array is greater than 0. | |
7802 (Array<T>::resize_no_fill): Likewise. | |
7803 | |
7804 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
7805 is equal to dimensions(i). | |
7806 | |
7807 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
7808 get_zero_len_size, number_of_elements): | |
7809 Delete unused functions. | |
7810 | |
7811 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
7812 number_of_elements function. | |
7813 * Array.cc (Array<T>::indexN): Likewise. | |
7814 | |
7815 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
7816 of equal_arrays function. | |
7817 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
7818 dim_vector::any_zero instead of any_zero_len function. | |
7819 | |
7820 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
7821 Don't skip reshaping and resizing if RHS is empty. | |
7822 | |
4746 | 7823 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
9967 | 7824 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747 | 7825 Delete unused variables is_colon and is_colon_equiv. |
4746 | 7826 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
7827 LHS is not yet defined. | |
4745 | 7828 Error for resizing if number of indices is less than number of LHS |
7829 dimensions. | |
7830 | |
4746 | 7831 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
7832 Fortran-style indexing. | |
7833 | |
4743 | 7834 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7835 | |
7836 * Array.cc (Array<T>::assignN): Simplify. | |
7837 Allow assignments to succeed if number if indices is less than the | |
7838 number of RHS dimensions. | |
7839 | |
4738 | 7840 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
7841 | |
4741 | 7842 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
7843 when number of indices is less than number of dimensions. | |
7844 | |
7845 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
7846 Remove unsued variable lhs_inc. | |
7847 | |
4740 | 7848 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
7849 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
7850 | |
7851 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
7852 | |
4738 | 7853 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
7854 == n_dims before checking to see if all indices are colon_equiv. | |
7855 | |
4736 | 7856 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7857 | |
7858 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
7859 deleting elements. | |
4737 | 7860 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
7861 at least ndims elements. | |
4736 | 7862 |
4735 | 7863 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
7864 | |
7865 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
7866 oriented differently from the index. | |
7867 | |
7868 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
7869 least two dimensions. | |
7870 | |
4733 | 7871 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7872 | |
4735 | 7873 * dim-vector.h (dim_vector::squeeze): New function. |
7874 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
7875 deciding whether the assignment conforms. | |
7876 | |
4733 | 7877 * Array.cc (Array<T>::assignN): Simplify dimension check by |
7878 comparing rhs_dims and frozen_len sans trailing singletons. | |
7879 | |
4732 | 7880 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7881 | |
7882 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
7883 Call error handler and return conversion_error == true if arg is | |
7884 not integer. | |
7885 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
7886 | |
4730 | 7887 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7888 | |
7889 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
7890 reference arg const. | |
7891 | |
7892 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7893 | |
7894 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
7895 | |
4729 | 7896 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
7897 | |
7898 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
7899 Now bool, to match definition in Array-flags.cc. | |
7900 | |
4725 | 7901 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7902 | |
4726 | 7903 * file-ops.cc: Include <vector> instead of <memory> for new |
7904 definition of OCTAVE_LOCAL_BUFFER. | |
7905 | |
4725 | 7906 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
7907 New arg, calc_eigenvectors. | |
7908 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
7909 Based on patch from David Bateman <dbateman@free.fr>. | |
7910 | |
4716 | 7911 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7912 | |
7913 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
7914 For X(I) = RHS, don't restrict I to fewer elements than X. | |
7915 | |
7916 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
7917 | |
4711 | 7918 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
7919 | |
4714 | 7920 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
7921 Simplify calculation of number of elements in retval. | |
7922 | |
4711 | 7923 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
7924 filling when RHS is scalar and dimension lengths agree. | |
7925 | |
4710 | 7926 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7927 | |
4713 | 7928 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
7929 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 7930 |
4707 | 7931 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
7932 | |
4709 | 7933 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
7934 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 7935 |
4702 | 7936 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
7937 | |
4703 | 7938 * Array.h (Array<T>::chop_trailing_singletons): New function. |
7939 * Array.cc (Array<T>::assignN): Use it on LHS. | |
7940 | |
7941 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 7942 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 7943 Check for singleton dimensions where RHS is matrix or higher dimension. |
7944 Make sure index is in bounds. | |
4702 | 7945 |
4698 | 7946 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7947 | |
7948 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
7949 octave_NaN, and octav_NA values are always initialized. Check | |
7950 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
7951 to decide whether to do IEEE initialization. | |
7952 | |
4687 | 7953 2004-01-06 David Bateman <dbateman@free.fr> |
7954 | |
9967 | 7955 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
4687 | 7956 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
7957 ComplexNDArray::too_large_for_float): New functions | |
9967 | 7958 |
4687 | 7959 * CNDArray.cc (operator <<, operator >>): New IO operators. |
7960 * CNDArray.h: Provide decls. | |
7961 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
7962 * dNDArray.h: Provide decls. | |
7963 | |
4673 | 7964 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7965 | |
4674 | 7966 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
7967 they are already defined in boolNDArray.cc. | |
7968 | |
4673 | 7969 * Array-util.cc (get_zero_len_size): Delete. |
7970 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
7971 Handle zero-length result dimensions the same as empty original | |
7972 indices. | |
7973 | |
7974 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7975 | |
7976 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
7977 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
7978 New functions. | |
7979 * Array.cc (ArrayN<T>::indexN): Use it. | |
7980 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
7981 | |
4669 | 7982 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7983 | |
7984 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
7985 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
7986 | |
7987 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7988 | |
7989 * mk-ops.awk: Also emit #include "Array-util.h". | |
7990 | |
7991 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
7992 Add bnda x bnda, b x bnda, and bnda x b ops. | |
7993 | |
7994 * MArray-misc.cc: Delete. | |
7995 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
7996 | |
7997 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
7998 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
7999 | |
4655 | 8000 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8001 | |
4663 | 8002 * dbleQR.cc (QR::init): Use separate pwork pointers. |
8003 * CmplxQR.cc (ComplexQR::init): Likewise. | |
8004 | |
8005 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
8006 two-arg getgrnam version. | |
8007 | |
4657 | 8008 * Array.cc (assignN): Allow single indexing to work. |
4661 | 8009 (Array<T>::range_error (const char*, const Array<int>&)): |
8010 Report index values. | |
8011 | |
8012 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 8013 * ODESSA.cc (odessa_j): Likewise. |
8014 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
8015 * DASPK.cc (ddaspk_psol): Likewise. | |
8016 * lo-mappers.cc (imag): Likewise. | |
4663 | 8017 * Array-util.cc (get_zero_len_size): Likewise. |
8018 * kpse.cc (path_search, path_find_first_of): Likewise. | |
8019 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 8020 |
4655 | 8021 * dim-vector.h (dim_vector::all_ones): New function. |
8022 | |
4646 | 8023 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8024 | |
4653 | 8025 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
8026 zeros, not orig_rows or orig_columns. | |
8027 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
8028 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
8029 | |
8030 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
8031 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
8032 | |
8033 * idx-vector.cc (idx_vector::idx_vector_rep): | |
8034 Use initialization lists for constructors. | |
8035 | |
4651 | 8036 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
8037 Omit special case for ra_idx.capacity () == 1. | |
8038 Always allow single index for matrix args with optional warning. | |
8039 | |
4650 | 8040 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
8041 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
8042 | |
4648 | 8043 * Array-so.cc: New file. Move instantiations here from so-array.h. |
8044 * Makefile.in (TI_SRC): Add it to the list. | |
8045 | |
4646 | 8046 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
8047 type and the names of the left and right operands. Change all uses. | |
8048 | |
8049 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
8050 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
8051 | |
4645 | 8052 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8053 | |
8054 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
8055 just length. | |
8056 | |
8057 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
8058 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
8059 non-dependent member functions and data as needed. | |
8060 | |
8061 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
8062 | |
8063 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
8064 * Array3.h (Array3<T>::operator =): Likewise. | |
8065 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
8066 Include Array.h, not Array2.h. | |
8067 | |
4634 | 8068 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8069 | |
4636 | 8070 * str-vec.cc (list_in_columns): Fix previous change. |
8071 | |
4635 | 8072 * dim-vector.h (dim_vector::num_ones): New function. |
8073 * Array.cc (maybe_delete_elements): Use it instead of | |
8074 num_ones (const Array<int>&). | |
8075 | |
8076 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
8077 | |
4634 | 8078 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
8079 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
8080 New functions. | |
8081 * dNDArray.h: Provide decls. | |
8082 | |
8083 * dMatrix.h (Matrix::any_element_is_negative, | |
8084 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
8085 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
8086 Simplify. | |
8087 | |
8088 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
8089 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
8090 | |
8091 * dNDArray.cc (real, imag): New functions. | |
8092 * dNDArray.h: Provide decls. | |
8093 | |
4630 | 8094 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8095 | |
8096 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
8097 | |
4625 | 8098 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8099 | |
8100 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
8101 * MArray.h (resize): Delete. | |
8102 * MArray2.h (resize): Delete. | |
8103 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
8104 * ODESSA (ODESSA::integrate): Likewise. | |
8105 | |
4616 | 8106 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8107 | |
8108 * Makefile.in (dist): Depend on stamp-prereq. | |
8109 | |
4605 | 8110 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
8111 | |
8112 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
8113 Kluge to make it work. | |
4604 | 8114 |
8115 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
8116 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
8117 | |
8118 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
8119 default_command_editor::do_generate_filename_completions, | |
8120 command_editor::generate_filename_completions): New functions. | |
8121 * cmd-edit.h: Provide decls. | |
8122 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
8123 function. | |
8124 * oct-rl-edit.h: Provide decl. | |
8125 | |
4593 | 8126 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8127 | |
4594 | 8128 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
8129 INSTANTIATE_ARRAY): New macros. | |
8130 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
8131 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
8132 | |
4593 | 8133 * Array.h (Array<T>::ipermute): New function. |
8134 | |
8135 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
8136 | |
8137 * Array.cc (Array<T>::permute): New function. | |
8138 * Array.h: Provide decl. | |
8139 | |
8140 * Array-util.cc (calc_permutated_idx): New function. | |
8141 * Array-util.h: Provide decl. | |
8142 | |
4587 | 8143 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8144 | |
4592 | 8145 * Array.cc (Array<T>::index2): Return value has orientation of |
8146 indexed value if indexing a vector with a bool matrix. | |
8147 | |
4589 | 8148 * ArrayN.h (ArrayN<T>::get_size): Delete. |
8149 | |
4588 | 8150 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
8151 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
8152 | |
8153 * ArrayN-inline.h: Delete. | |
8154 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
8155 * Makefile.in: Fix the appropriate lists. | |
8156 | |
4587 | 8157 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
8158 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
8159 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
8160 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
8161 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
8162 Avoid -Wshadow warnings. | |
8163 | |
8164 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 8165 |
8166 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
8167 | |
8168 * mk-ops.awk: Delete elements of bool_headers array individually. | |
8169 | |
8170 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8171 | |
8172 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
8173 | |
4584 | 8174 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
8175 | |
8176 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
8177 | |
8178 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
8179 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
8180 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
8181 Return NDArray. Handle N-d arrays. | |
8182 | |
4575 | 8183 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8184 | |
4583 | 8185 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
8186 that upcase Fortran names by calling dlsode instead of lsode. | |
8187 | |
8188 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
8189 that upcase Fortran names by calling dodessa instead of odessa. | |
8190 | |
4577 | 8191 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
8192 non-const args for symlink system call. | |
8193 (file_ops::readlink): Likewise, for readlink. | |
8194 | |
4575 | 8195 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
8196 | |
4574 | 8197 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8198 | |
8199 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
8200 Change all uses. | |
8201 | |
4569 | 8202 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
8203 | |
8204 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
8205 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
8206 * dNDArray.h: Provide decls. | |
8207 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
8208 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
8209 ComplexNDArray::abs): New functions. | |
8210 * CNDArray.h: Provide decls. | |
8211 | |
8212 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
8213 Generalize to handle other reduction operations. | |
8214 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
8215 MX_ND_ALL_ANY_REDUCTION): New macros. | |
8216 | |
4565 | 8217 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8218 | |
4567 | 8219 * Array.cc (Array<T>::reshape): New function. |
8220 * Array.h: Provide decl. | |
8221 | |
8222 * dim-vector.h (dim_vector::numel): New function. | |
8223 | |
4565 | 8224 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
8225 dim_vector&)): Correctly handle case of n < dv->ndims. | |
8226 | |
4559 | 8227 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8228 | |
8229 * dim-vector.h (dim_vector::any_zero): New function. | |
8230 (dim_vector::str): New default arg, sep. | |
8231 | |
8232 * Array.h (Array<T>::numel): New function. | |
8233 | |
4556 | 8234 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
8235 | |
8236 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
8237 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
8238 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
8239 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
8240 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
8241 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
8242 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
8243 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
8244 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
8245 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
8246 | |
4552 | 8247 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8248 | |
4553 | 8249 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
8250 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
8251 | |
4552 | 8252 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
8253 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
8254 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
8255 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
8256 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
8257 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
8258 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
8259 Use new F77 arg macros in declarations of external Fortran | |
8260 subroutines and for calling them. | |
8261 | |
4548 | 8262 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8263 | |
8264 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
8265 Allow number of dimensions to change. | |
8266 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
8267 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
8268 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
8269 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
8270 (Array<T>::transpose): Require ndims to be 2. | |
8271 (Array<T>::index2): Likewise. | |
8272 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
8273 (Array<T>::maybe_delete_elements_2): Likewise. | |
8274 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
8275 (Array<T>::index1): Use resize_and_fill. | |
8276 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
8277 | |
8278 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
8279 | |
8280 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
8281 (MArray2<T>::resize (int, int, const T&)): New function. | |
8282 | |
8283 * MArray.h (MArray<T>::resize (int)): New function. | |
8284 (MArray<T>::resize (int, const T&)): New function. | |
8285 | |
8286 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
8287 | |
8288 * DASPK-opts.in: Use single-arg resize for initial condition | |
8289 heuristics. | |
8290 | |
8291 * dim-vector.h (class dim_vector): Now reference counted. | |
8292 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
8293 | |
4544 | 8294 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8295 | |
4545 | 8296 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
8297 | |
4544 | 8298 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
8299 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
8300 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
8301 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
8302 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
8303 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
8304 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
8305 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
8306 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
8307 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
8308 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
8309 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
8310 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
8311 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
8312 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
8313 files are now automatically generated. | |
8314 | |
8315 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
8316 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
8317 Add rules to generate these files and mx-ops.h. | |
8318 (stamp-prereq): Depend on these files. | |
8319 | |
8320 * mx-ops, vx-ops, mk-ops.awk: New files. | |
8321 * Makefile.in (DISTFILES): Add them to the list. | |
8322 | |
4543 | 8323 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8324 | |
8325 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
8326 NDArray::NDArray (const charNDArray)): New constructors. | |
8327 (NDArray::operator !): New function. | |
8328 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
8329 NDND_CMP_OPS, NDND_BOOL_OPS. | |
8330 | |
8331 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
8332 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
8333 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
8334 New constructors. | |
8335 (ComplexNDArray::operator !): New function. | |
8336 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
8337 NDND_CMP_OPS, NDND_BOOL_OPS. | |
8338 | |
8339 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
8340 | |
8341 * boolNDArray.cc (boolNDArray::operator !): New function. | |
8342 Provide NDND_CMP_OPS. | |
8343 | |
8344 * MArrayN.cc (operator +=, operator -=): New functions. | |
8345 Provide product and quotient functions. | |
8346 | |
8347 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
8348 dim_vector&)): New function. | |
8349 | |
8350 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
8351 operator ==, operator !=): New functions. | |
8352 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
8353 | |
8354 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
8355 No need to save old dimensions. | |
8356 | |
8357 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
8358 (octave_rand::nd_array): New function. | |
8359 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
8360 | |
8361 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
8362 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
8363 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
8364 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
8365 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
8366 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
8367 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
8368 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
8369 NDND_OP_DECLS): New macros. | |
8370 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
8371 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
8372 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
8373 | |
8374 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
8375 boolNDArray, class charNDArray): New forward decls. | |
8376 | |
4534 | 8377 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8378 | |
8379 * Array.cc (assign2): No error (but don't do anything either) for | |
8380 expressions like x([],j) = scalar. | |
8381 | |
4532 | 8382 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8383 | |
4533 | 8384 * Array.cc (assignN): Allow lhs(:) = scalar. |
8385 | |
4532 | 8386 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
8387 * dNDArray.cc (NDArray::increment_index): Likewise. | |
8388 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
8389 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
8390 | |
8391 * dim-vector.h (rows, cols): Delete unused data members. | |
8392 | |
8393 * Array.cc (Array<T>::get_size): Fix thinko. | |
8394 | |
8395 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8396 | |
8397 * Array.cc (Array<T>::squeeze): New function. | |
8398 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
8399 * dNDArray.h (NDArray::squeeze): Likewise. | |
8400 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
8401 * chNDArray.h (charNDArray::squeeze): Likewise. | |
8402 | |
4530 | 8403 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
8404 | |
8405 * Array.cc (ArrayN<T>::indexN): New definition. | |
8406 * Array.h (Array<T>::indexN): Provide decl. | |
8407 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
8408 Call indexN if more than 2 indices. | |
8409 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
8410 Make it (mostly) work. | |
8411 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
8412 New functions. | |
8413 | |
4527 | 8414 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8415 | |
8416 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
8417 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
8418 versions with eof arg. | |
8419 | |
4518 | 8420 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8421 | |
8422 * Array.h (dimensions): Now public. | |
8423 template <class LT, class RT> | |
8424 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
8425 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
8426 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
8427 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
8428 resize_no_fill (int), | |
8429 resize_no_fill (int, int), | |
8430 resize_no_fill (int, int, int), | |
8431 resize_no_fill (const dim_vector&), | |
8432 resize_and_fill (int, const T&), | |
8433 resize_and_fill (int, int, const T&), | |
8434 resize_and_fill (int, int, int, const T&), | |
8435 resize_and_fill (const dim_vector&, const T&)): Now public. | |
8436 | |
8437 * Array.cc: Include <climits>. | |
8438 | |
4513 | 8439 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8440 | |
4517 | 8441 * Array.cc: Merge Array-idx.h. |
8442 * Array-idx.h: Delete. | |
8443 | |
4514 | 8444 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
8445 | |
4513 | 8446 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
8447 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
8448 just special cases of the general purpose N-d Array object). | |
8449 | |
8450 * dim-vector.h: New file. Use dim_vector objects instead of | |
8451 ints or Array<int> objects to represent the size of Array | |
8452 objects. | |
8453 | |
8454 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
8455 | |
8456 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
8457 | |
8458 * mx-base.h: Include NDArray header files. | |
8459 | |
8460 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
8461 | |
8462 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
8463 Array-s.cc: Also instantiate ArrayN objects. | |
8464 Don't instantiate assign funcitons for Array2 objects. | |
8465 | |
8466 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
8467 liboctave_error_handler, not cerr. | |
8468 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
8469 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
8470 * dMatrix.cc (Matrix::diag): Likewise. | |
8471 | |
8472 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
8473 Omit checks for HEAVYWEIGHT_INDEXING. | |
8474 | |
8475 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8476 | |
8477 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
8478 | |
8479 * CNDARray.h, CNDArray.cc: New files. | |
8480 * Makefile.in: Add them to the appropriate lists. | |
8481 | |
8482 * dNDArray.h: Rename from NDArray.h. | |
8483 * dNDArray.cc: Rename from NDArray.cc. | |
8484 * Makefile.in: Rename them here too. | |
8485 | |
4507 | 8486 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
8487 | |
8488 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
8489 | |
8490 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
8491 * Makefile.in: Add them to the appropriate lists. | |
8492 | |
5095 | 8493 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 8494 |
8495 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
8496 biry): Always request scaled results from AMOS functions and | |
8497 perform reverse scaling on results if scaled result not requested | |
8498 by user. | |
8499 | |
8500 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9967 | 8501 |
4506 | 8502 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
8503 | |
4505 | 8504 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8505 | |
8506 * Array-d.cc: Instantiate assign functions. | |
8507 | |
4504 | 8508 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
8509 | |
8510 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
8511 (get_elt_idx): Index ra_idx correctly. | |
8512 | |
8513 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
8514 bounds if it is exactly on the bound. | |
8515 | |
8516 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
8517 * ArrayN.h: Provide decl. | |
8518 | |
8519 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
8520 | |
8521 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
8522 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
8523 (idx_vector::orig_dimensions): New function. | |
8524 | |
4497 | 8525 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8526 | |
8527 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
8528 | |
4496 | 8529 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
8530 | |
8531 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
8532 (is_in, how_many_lgt, all_ones): New functions. | |
8533 | |
4493 | 8534 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8535 | |
8536 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
8537 | |
8538 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
9967 | 8539 |
4493 | 8540 * ArrayN-inline.h: New file. |
8541 (index_in_bounds, increment_index): Move here. | |
8542 * ArrayN.cc: From here. | |
8543 | |
8544 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
8545 * ArrayN-idx.h (assign): New function. | |
8546 | |
4490 | 8547 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8548 | |
8549 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
8550 Also zero imaginary part of result if real part of input value is | |
8551 zero. | |
8552 | |
4478 | 8553 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
8554 | |
8555 * mx-base.h: Include ArrayN.h. | |
8556 | |
4476 | 8557 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
8558 | |
9967 | 8559 * ArrayN.cc (operator <<): Corrected output. |
4476 | 8560 |
4474 | 8561 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8562 | |
8563 * ArrayN.cc (increment_index): New arg, start_dimension. | |
8564 | |
5095 | 8565 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 8566 |
8567 * ArrayN.cc (operator <<): Improve output readability. | |
8568 | |
4493 | 8569 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 8570 |
8571 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
8572 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
8573 Initialize old_len before changing size. | |
8574 | |
4472 | 8575 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8576 | |
8577 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 8578 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 8579 |
4469 | 8580 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8581 | |
8582 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
8583 way. Handle NA in an R-compatible way. | |
8584 | |
8585 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
8586 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
8587 | |
8588 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
8589 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
8590 | |
8591 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
8592 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
8593 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
8594 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
8595 | |
4461 | 8596 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8597 | |
8598 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
8599 Pass true for resize_ok arg to freeze. | |
9967 | 8600 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
4461 | 8601 Likewise. |
8602 | |
8603 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
8604 resize_ok arg is now bool. | |
8605 * idx-vector.h (idx_vector::freeze): Likewise. | |
8606 | |
8607 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
8608 Rename from liboctave_rre_flag. Now bool. | |
8609 (liboctave_wfi_flag): Now bool. | |
8610 | |
8611 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
8612 | |
5095 | 8613 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 8614 |
8615 * Array.h (resize_fill_value): Now a top-level template function. | |
8616 Accept object as argument. Change all uses. | |
8617 | |
4455 | 8618 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8619 | |
8620 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
8621 | |
8622 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
8623 liboctave_dfi_flag. | |
8624 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
8625 X undefined or empty, always create a row vector. | |
8626 | |
8627 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
8628 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
8629 | |
4437 | 8630 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8631 | |
8632 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
8633 Magic colon indexing always produces an object with one column. | |
8634 | |
5095 | 8635 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 8636 |
8637 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
8638 | |
8639 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
8640 | |
4431 | 8641 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8642 | |
8643 * dMatrix.cc (any_element_is_negative): If new optional arg | |
8644 neg_zero is true, also return true for negative zero. | |
8645 | |
4429 | 8646 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8647 | |
8648 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
8649 Handle step limit. | |
8650 * DASSL-opts.in: New option for step limit. | |
8651 | |
5095 | 8652 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 8653 |
8654 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
8655 | |
4428 | 8656 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8657 | |
8658 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
8659 Store step limit in iwork(20), not iwork(18). | |
8660 | |
5095 | 8661 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 8662 |
8663 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
8664 | |
4412 | 8665 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8666 | |
4413 | 8667 * Makefile.in: Handle DESTDIR. |
8668 | |
4412 | 8669 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
8670 (kpse_path_iterator::set_end): Don't miss last element when not | |
8671 followed by a colon. | |
8672 | |
4409 | 8673 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8674 | |
8675 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
8676 | |
8677 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8678 | |
8679 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
8680 (find_first_of): Also do an absolute search on each | |
8681 name before looking in the path. | |
8682 | |
4407 | 8683 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8684 | |
8685 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
8686 directory separator. | |
8687 | |
4399 | 8688 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8689 | |
8690 * pathsearch.cc: Include kpse.cc here. | |
8691 | |
8692 * kpse.cc: All functions are now static. Massive surgery to | |
8693 condense kpathsearch library to a single file of just the | |
8694 essentials for Octave and convert to using C++ strings (no more | |
8695 calls to malloc, very few calls to new, so there should be much | |
8696 less potential for introducing memory leaks now). | |
8697 | |
8698 * Makefile.in (EXTRAS): Move kpse.cc here from | |
8699 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
8700 | |
8701 * kpse.h, kpse-config.h: Delete. | |
8702 * Makefile.in (INCLUDES): Delete them from the list. | |
8703 | |
4392 | 8704 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8705 | |
8706 * str-vec.cc (string_vector::append (const std::string&), | |
8707 string_vector::append (const string_vector&)): New methods. | |
8708 | |
4386 | 8709 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8710 | |
4389 | 8711 * kpse.cc, kpse.h: Replace fn_type with std::string. |
8712 | |
4387 | 8713 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
8714 | |
4386 | 8715 * kpse.cc (xclosedir): Don't define or declare for Windows. |
8716 (READABLE): Now a static function to avoid warnings from MinGW | |
9967 | 8717 compiler. |
4386 | 8718 |
4384 | 8719 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8720 | |
4385 | 8721 * kpse.cc: Move most functions from kpse-xfns.c here and make |
8722 static. Include most of kpse-xfns.h directly, removing | |
8723 unnecessary bits. | |
8724 | |
4384 | 8725 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
8726 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
8727 | |
4378 | 8728 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8729 | |
8730 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
8731 * Makefile.in: Add them to the appropriates lists. | |
8732 | |
8733 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
8734 | |
8735 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
8736 for new locations of kpathsea objects. | |
8737 Delete kpathsea targets. | |
8738 | |
8739 * pathsearch.cc (dir_path::set_program_name): Delete. | |
8740 | |
8741 * kpse.cc: New file. | |
8742 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
8743 | |
8744 * kpse.c: New file. | |
8745 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
8746 | |
8747 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
8748 * Makefile.in (INCLUDES): Add them to the list. | |
8749 | |
8750 * oct-kpse.h: Delete. | |
8751 * Makefile.in (INCLUDES): Delete it from the list. | |
8752 | |
4374 | 8753 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8754 | |
8755 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
8756 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
8757 Likewise. | |
8758 From Quentin H. Spencer <qspencer@ieee.org>. | |
8759 | |
4365 | 8760 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8761 | |
8762 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
8763 | |
4349 | 8764 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
8765 | |
4352 | 8766 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
8767 without placement delete. | |
8768 | |
4349 | 8769 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
8770 imaginary parts. | |
8771 | |
8772 * lo-ieee.h (lo_ieee_signbit): New macro. | |
8773 | |
5095 | 8774 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 8775 |
8776 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8777 Use Lapack instead of Linpack. | |
5315 | 8778 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 8779 ComplexMatrix::solve): Likewise. |
8780 | |
8781 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
8782 calc_cond. If 0, skip condition number calculation. | |
8783 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
8784 Likewise. | |
8785 | |
8786 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
8787 * dbleLU.cc (LU::LU): Likewise. | |
8788 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
8789 | |
8790 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9967 | 8791 |
4329 | 8792 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
8793 | |
4323 | 8794 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8795 | |
8796 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
8797 Additional compatibility fix. | |
8798 | |
8799 2003-02-13 Arno Klaassen <arno@scito.com> | |
9967 | 8800 |
8801 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4323 | 8802 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
8803 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
9967 | 8804 |
4322 | 8805 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8806 | |
8807 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
8808 Compatibility fix. | |
8809 | |
4316 | 8810 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8811 | |
8812 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
8813 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
8814 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
8815 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
8816 * dRowVector.cc (RowVector::extract_n): Likewise. | |
8817 * dMatrix.cc (Matrix::extract_n): Likewise. | |
8818 | |
8819 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
8820 with make_unique and xelem. | |
8821 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
8822 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
8823 ComplexMatrix::extract, ComplexMatrix::row, | |
8824 ComplexMatrix::column): Likewise. | |
8825 * dColVector.cc (ColumnVector::insert): Likewise. | |
8826 * dRowVector.cc (RowVector::insert): Likewise. | |
8827 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
8828 Matrix::row, Matrix::column): Likewise. | |
8829 | |
4313 | 8830 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8831 | |
8832 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
8833 | |
4309 | 8834 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8835 | |
8836 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
8837 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
8838 * CMatrix.h, dMatrix.h: Provide decls. | |
8839 | |
4307 | 8840 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8841 | |
8842 * oct-rand.h, oct-rand.cc: New files. | |
8843 * Makefile.in: Add them to the appropriate lists. | |
8844 | |
4306 | 8845 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8846 | |
8847 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
8848 | |
4299 | 8849 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
8850 | |
8851 * oct-syscalls.cc: Include signal.h. | |
8852 | |
4294 | 8853 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8854 | |
8855 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
8856 * oct-syscalls.h: Provide decl. | |
9967 | 8857 |
4294 | 8858 |
4293 | 8859 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8860 | |
8861 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
8862 there is nothing to read. | |
8863 | |
4290 | 8864 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8865 | |
8866 * lo-cutils.c: Define _XOPEN_SOURCE. | |
8867 | |
4286 | 8868 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8869 | |
4288 | 8870 * getopt.h: Update to version from kpathsearch, so we will install |
8871 the version that we are using. | |
8872 | |
8873 * getopt.c, getopt1.c: Delete. | |
8874 (INCLUDES): Delete them from the list. We'll get these files from | |
8875 kpathsearch. | |
8876 | |
4286 | 8877 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
8878 ../kpathsea/STATIC/*.o. | |
8879 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
8880 | |
4270 | 8881 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8882 | |
4282 | 8883 * dMatrix.cc (read_int, write_int): Avoid warnings about |
8884 unreachable code. | |
8885 | |
4279 | 8886 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
8887 to correspond to placement new operator. | |
8888 | |
4278 | 8889 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
8890 (DET::value_will_underflow): Likewise. | |
8891 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
8892 (ComplexDET::value_will_underflow): Likewise. | |
8893 | |
4276 | 8894 * Makefile.in (distclean): Also remove stamp-prereq. |
8895 | |
4306 | 8896 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
8897 RHS and index are empty matrices, don't do anything. | |
4270 | 8898 |
4242 | 8899 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8900 | |
8901 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
8902 delete_c_names): New helper functions. | |
8903 (dir_path::find_first_of): New function. | |
8904 (dir_path::find_all_first_of): Likewise. | |
8905 * pathsearch.h: Provide decls. | |
8906 | |
8907 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
8908 (octave_kpse_all_path_find_first_of): Likewise. | |
8909 * oct-kpse.h: Provide decls. | |
8910 | |
4231 | 8911 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8912 | |
8913 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
8914 * ODESSA-opts.in: Likewise. | |
8915 | |
8916 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
8917 * LSODE-opts.in: Likewise. | |
8918 | |
4229 | 8919 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8920 | |
4230 | 8921 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
8922 in all constructors. | |
8923 | |
4229 | 8924 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
8925 (LINK_DEPS): Not here. | |
8926 | |
4219 | 8927 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8928 | |
4220 | 8929 * str-vec.cc (string_vector::compare): New static member function. |
8930 * str-vec.h: Provide decl. | |
8931 (string_vector::sort): Use it. | |
8932 (str_vec_compare): Delete static function. | |
8933 | |
4219 | 8934 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
8935 a placement operator new. | |
8936 | |
4209 | 8937 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8938 | |
4210 | 8939 * Matrix.h: Include mx-ops.h too. |
4209 | 8940 * mx-ops.h: New file. |
8941 | |
4192 | 8942 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8943 | |
8944 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
8945 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
8946 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
8947 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
8948 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
8949 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
8950 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
8951 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
8952 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
8953 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
8954 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
8955 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
8956 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
8957 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
8958 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
8959 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
8960 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
8961 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
8962 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
8963 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
8964 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
9967 | 8965 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
4192 | 8966 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
8967 | |
4184 | 8968 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8969 | |
8970 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
8971 From Remy Bruno <remy.bruno@libertysurf.fr> | |
8972 | |
4180 | 8973 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8974 | |
8975 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
8976 fortran code that should run fast enough that it is not worth all | |
8977 the setup costs of F77_XFCN. | |
8978 | |
8979 * Quad.cc (user_function): Surround body of function with | |
8980 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
8981 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
8982 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
8983 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
8984 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
8985 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
8986 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
8987 | |
4164 | 8988 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8989 | |
8990 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
8991 of ! defined (linux). | |
8992 | |
5095 | 8993 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 8994 |
8995 * oct-shlib.cc (octave_dyld_shlib): New class. | |
8996 (make_shlib): Instantiate octave_dyld_shlib. | |
8997 | |
4152 | 8998 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8999 | |
4153 | 9000 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
9001 | |
4152 | 9002 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
9003 | |
9004 * Array.h: Include <cstddef> here. | |
9005 | |
4142 | 9006 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9007 | |
4144 | 9008 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
9009 using them. Accept inequality contraint option of 0. Assign | |
9010 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
9011 abs_tol and rel_tol. | |
9012 | |
4143 | 9013 * cmd-edit.h (command_editor::filename_completion_desired): New |
9014 static function. | |
9015 (command_editor::do_filename_completion_desired): New virtual function. | |
9016 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
9017 * oct-rl-edit.h: Provide decl. | |
9018 | |
4142 | 9019 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
9020 avoid OS X linker bug. | |
9021 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
9022 | |
4139 | 9023 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9024 | |
4141 | 9025 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
9026 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
9027 solvers. | |
9028 * ODESSA.cc: Fix all callers. | |
9029 | |
4139 | 9030 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
9031 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
9032 sum(zeros(1,0)) returns 0, not [](1x0)). | |
9033 | |
4136 | 9034 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9035 | |
9036 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
9037 | |
4132 | 9038 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9039 | |
4133 | 9040 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
9041 (ddasrt_f): Combine loops. | |
9042 | |
4132 | 9043 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
9044 instead of empty vector if user termninates iteration. | |
9045 | |
4130 | 9046 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9047 | |
9048 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
9049 octave_read_complex, octave_write_double, octave_write_complex): | |
9050 New functions. | |
9051 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
9052 Use octave_write_complex. | |
9053 (operator >> (std::istream&, const ComplexMatrix&)): | |
9054 Use octave_read_complex. | |
9055 * dMatrix.cc (operator << (std::ostream&, double)): | |
9056 Use octave_write_double. | |
9057 (operator >> (std::istream&, double)): Use octave_read_double. | |
9058 | |
4126 | 9059 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9060 | |
9061 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
9062 * oct-kpse.h: Delete decl. | |
9063 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
9064 ::octave_kpse_clear_dir_cache. | |
9065 | |
4123 | 9066 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
9067 | |
4124 | 9068 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
9069 earlier than 3.0. | |
9070 | |
4123 | 9071 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
9072 (liboctave.$(SHLEXT)): Not here. | |
9073 | |
5095 | 9074 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 9075 |
9076 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
9077 | |
4108 | 9078 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9079 | |
9080 * Makefile.in (install-lib): Don't bother with versions for | |
9081 $(SHLBIN) files. | |
9082 | |
5095 | 9083 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 9084 |
9085 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
9086 | |
4102 | 9087 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9088 | |
9089 * lo-cieee.c: Move everything but lo_ieee_init here. | |
9090 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
9091 New functions. | |
9092 | |
9093 * Makefile.in (install): No need to use cd to create links. | |
9094 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
9095 | |
5095 | 9096 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 9097 |
9098 * Makefile.in: Merge liboctave with liboct-readline and | |
9099 liboct-pathsearch. | |
9100 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
9101 (libraries): Depend on versioned library. | |
9102 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
9103 build unversioned library, symbolic link adds version info. | |
9104 (install, uninstall): Handle link and load forms of the library | |
9105 separately. | |
9106 | |
4101 | 9107 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9108 | |
9109 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
9110 __CYGWIN__. | |
9111 | |
9112 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
9113 file_ops::dir_sep_chars): New static functions to replace | |
9114 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
9115 | |
9116 * oct-env.cc (octave_env::do_set_program_name): | |
9117 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
9118 (octave_env::do_base_pathname): Likewise. | |
9119 (octave_env::do_make_absolute): Likewise. | |
9120 | |
9121 * oct-env.cc (octave_env::do_make_absolute): | |
9122 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
9123 (octave_env::do_get_home_directory): Likewise. | |
9124 | |
9125 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
9126 that information here too. | |
9127 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
9128 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
9129 | |
9130 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
9131 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
9132 | |
4097 | 9133 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
9134 | |
9135 * oct-env.h (octave_env::current_directory): Now mutable. | |
9136 (octave_env:do_getcwd): Now const. | |
9137 | |
9138 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
9139 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
9140 OCTAVE_CURRENT_DIR_STR): New macros. | |
9141 * oct-env.cc (is_dir_sep): Delete. | |
9142 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
9143 (octave_env::do_set_program_name): Likewise. | |
9144 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
9145 instead of checking for '/'. | |
9146 (octave_env::pathname_backup): Likewise. | |
9147 (octave_env::do_absolute_pathname): Likewise. | |
9148 (octave_env::do_make_absolute): Likewise. | |
9149 If dot_path is empty, use getcwd to set current_dir. | |
9150 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
9151 instead of "/". | |
9152 | |
5095 | 9153 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 9154 |
9155 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
9156 | |
5095 | 9157 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 9158 |
9159 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
9160 absolute path names under MinGW as well. | |
9161 | |
9162 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9163 | |
9164 * oct-env.cc: Include <cctype> too. | |
9165 | |
4087 | 9166 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
9167 | |
9168 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
9169 filenames. | |
9170 (octave_env::do_make_absolute): Check for absolute name with | |
9171 do_absolute_path. | |
4088 | 9172 (octave_env::do_chdir): Likewise. |
9173 (is_dir_sep): New function. | |
4087 | 9174 |
5095 | 9175 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 9176 |
4086 | 9177 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
9178 systems. | |
4085 | 9179 |
4083 | 9180 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9181 | |
9182 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
9183 | |
4080 | 9184 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9185 | |
4081 | 9186 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
9187 | |
4080 | 9188 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
9189 | |
5095 | 9190 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 9191 |
9192 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
9193 gr_gid too. | |
9194 | |
4072 | 9195 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
9196 | |
4074 | 9197 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
9198 lo_ieee_* functions. | |
4072 | 9199 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 9200 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
9201 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 9202 * lo-cieee.c: New file. |
4074 | 9203 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 9204 * lo-ieee.h: Now all extern "C". |
4074 | 9205 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
9206 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
9207 | |
4072 | 9208 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
9209 Now extern. | |
9210 | |
4066 | 9211 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9212 | |
9213 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
9214 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
9215 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
9216 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
9217 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
9218 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
9219 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
9220 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
9221 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
9222 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
9223 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
9224 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
9225 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
9226 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
9227 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
9228 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
9229 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
9230 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
9231 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
9232 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
9233 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
9234 oct-alloc.cc: | |
9235 If __GNUG__, use pragma interface/implementation. Allow this to | |
9236 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
9237 | |
5095 | 9238 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 9239 |
4066 | 9240 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
9241 system readlink function is not available. | |
9242 | |
4065 | 9243 * lo-mappers.cc (xerf, xerfc): Delete. |
9244 * lo-mappers.h (xerf, xerfc): Delete decls. | |
9245 | |
4064 | 9246 * lo-mappers.cc: Remove unused #define M_PI. |
9247 * lo-specfun.cc: Add #define M_PI if needed. | |
9248 | |
4062 | 9249 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9250 | |
9251 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
9252 that geteuid doesn't exist. | |
9253 | |
9254 * LP.h: Rename LP class to octave_LP. | |
9255 LPsolve.h: Change all uses. | |
9256 | |
9257 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
9258 incorrect token-pasting op. | |
9259 | |
9260 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
9261 define lstat. | |
9262 | |
4061 | 9263 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
9264 | |
9265 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
9266 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
9267 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
9268 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
9269 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
9270 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
9271 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
9272 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
9273 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
9274 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
9275 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
9276 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
9277 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
9278 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
9279 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
9280 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
9281 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
9282 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
9283 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
9284 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
9285 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
9286 oct-alloc.cc: | |
9287 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
9288 to decide whether to use the interface/implementation pragmas. | |
9289 | |
4058 | 9290 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9291 | |
9292 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
9293 | |
4055 | 9294 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
9295 | |
9296 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
9297 qualified names. | |
9298 | |
4051 | 9299 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9300 | |
4054 | 9301 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
9302 ArrayN.cc: Add typename where needed. | |
4053 | 9303 |
4051 | 9304 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
9305 strstream classes directly. | |
9306 * DASRT.cc: Likewise. | |
9307 * DASSL.cc: Likewise. | |
9308 * LSODE.cc: Likewise. | |
9309 * ODESSA.cc: Likewise. | |
9310 | |
9311 * cmd-hist.cc: Don't include <strstream>. | |
9312 * oct-shlib.cc: Likewise. | |
9313 | |
9314 * lo-sstream.h: New file. | |
9315 | |
4049 | 9316 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9317 | |
9318 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
9319 New data members. | |
9320 (LSODE::sanity_checked): Delete unused data member. | |
9321 | |
9322 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
9323 prel_tol, pinfo, piwork, prwork): New data members. | |
9324 * DASSL.h (DASSL): Likewise. | |
9325 | |
9326 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
9327 | |
9328 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
9329 initialization, changes in options, etc. | |
9330 * DASPK.cc (DASPK::do_integrate): Likewise. | |
9331 * DASSL.cc (DASSL::do_integrate): Likewise. | |
9332 * LSODE.cc (LSODE::do_integrate): Likewise. | |
9333 | |
4047 | 9334 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9335 | |
4049 | 9336 * DAEFunc.h (DAEFunc::reset): New data member. |
9337 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
9338 | |
9339 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
9340 (base_diff_eqn::clear_stop_time): Likewise. | |
9341 | |
4047 | 9342 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
9343 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
9344 | |
5095 | 9345 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 9346 |
9347 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
9348 * DASRT-opts.in, DASRT.h: Likewise. | |
9967 | 9349 * DASSL-opts.in, DASSL.h: Likewise. |
4044 | 9350 * LSODE-opts.in, LSODE.h: Likewise. |
9351 * NLEqn-opts.in, NLEqn.h: Likewise. | |
9352 * ODESSA-opts.in, ODESSA.h: Likewise. | |
9353 | |
4038 | 9354 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9355 | |
4042 | 9356 * LSODE.cc (LSODE::error_message): Also return current T on |
9357 failures when that makes sense. | |
4043 | 9358 * DASSL.cc (DASSL::error_message): Likewise. |
9359 * DASRT.cc (DASRT::error_message): Likewise. | |
9360 * DASPK.cc (DASPK::error_message): Likewise. | |
9361 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 9362 |
4038 | 9363 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
9364 $(LIBKPATHSEA) here. | |
9365 | |
4025 | 9366 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9367 | |
9368 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
9369 (lo_ieee_is_NaN_or_NA): New function. | |
9370 (octave_NA): New global value. | |
9371 (octave_ieee_init): Initialize it. | |
9372 * lo-mappers.cc (octave_is_NA): New function. | |
9373 (octave_is_NaN_or_NA): New function. | |
9374 (xisnan): Return false if NaN looks like a missing value. | |
9375 (xisnan (const Complex&)): Use xisnan here. | |
9376 | |
4015 | 9377 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9378 | |
4017 | 9379 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
9380 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
9381 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
9382 Default value for dim is -1, not 0. | |
9383 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
9384 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
9385 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
9386 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
9387 | |
4015 | 9388 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
9389 New macros. | |
9390 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
9391 MX_BASE_REDUCTION_OP. | |
9392 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
9393 | |
4014 | 9394 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9395 | |
4015 | 9396 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
9397 Return boolMatrix, not Matrix. | |
9398 | |
9399 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
9400 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
9401 (Matrix::all): Replace guts with MX_ALL_OP. | |
9402 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
9403 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
9404 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
9405 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
9406 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
9407 (charMatrix::all): Replace guts with MX_ALL_OP. | |
9408 | |
9409 * dMatrix.h (Matrix::any): New arg, dim. | |
9410 (Matrix::all): Likewise. | |
9411 * CMatrix.h (ComplexMatrix::any): Likewise. | |
9412 (ComplexMatrix::all): Likewise. | |
9413 * boolMatrix.h (boolMatrix::any): Likewise. | |
9414 (boolMatrix::all): Likewise. | |
9415 * chMatrix.h (charMatrix::any): Likewise. | |
9416 (charMatrix::all): Likewise. | |
9417 | |
4014 | 9418 * Makefile.in: Use $@-t instead of $@.t. |
9419 | |
4004 | 9420 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9421 | |
9422 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
9423 Use it in matrix versions to avoid spewing multiple errors. | |
9424 Call xgammainc instead of dgamit. | |
9425 | |
3998 | 9426 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9427 | |
9967 | 9428 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
3998 | 9429 Get rows and columns right in loop. |
9430 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
9431 | |
9432 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9433 | |
9434 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
9435 * DASRT.cc (DASRT::integrate): Likewise. | |
9436 * DASSL.cc (DASSL::do_integrate): Likewise. | |
9437 | |
9438 * Quad.cc: Don't pass tolerances in constructors. | |
9439 | |
9440 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
9441 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
9442 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
9443 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
9444 from corresponding .in files. | |
9445 * LSODE.h, Quad.h: Replace options class definitions with included | |
9446 file. | |
9447 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
9967 | 9448 create OPTS_INC files from OPTS_INC_SRC files. |
3998 | 9449 (stamp-prereq): New target. |
9450 (libraries): Depend on stamp-prereq. | |
9451 Include stamp-prereq along with $(MAKEDEPS). | |
9452 | |
3997 | 9453 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9454 | |
9455 * base-de.h (base_diff_eqn::istate): New data member. | |
9456 (base_diff_eqn::integration_state): New member function. | |
9457 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
9458 data members and functions. | |
9459 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
9460 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
9461 | |
3990 | 9462 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9463 | |
3995 | 9464 * base-de.h (base_diff_eqn::stop_time, |
9465 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
9466 base_diff_eqn::integration_error): New data members. | |
9467 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
9468 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
9469 base_diff_eqn::error_message): New member functions. | |
9470 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
9471 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
9472 members and functions. | |
9473 | |
3992 | 9474 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
9475 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 9476 (DASRT::integrate): Don't forget to set nn. |
3992 | 9477 |
3991 | 9478 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
9479 * DASSL.cc (ddassl_j): Make it work. | |
9480 * DASPK.cc (ddaspk_j): Likewise. | |
9481 | |
3990 | 9482 * DAE.cc: Delete. |
9483 | |
9484 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
9485 solving with root finding. | |
9486 * Makefile.in: Add them to the appropriate lists. | |
9487 | |
9488 * base-dae.h: New file. | |
9489 * Makefile.in (INCLUDES): Add it to the list. | |
9490 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
9491 | |
3984 | 9492 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9493 | |
9494 * ODE.h: Move integrate and do_integrate method declarations and | |
9495 definitions here. | |
9496 * base-de.h: From here. | |
9497 | |
9498 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
9499 * Makefile.in: Add them to the appropriate lists. | |
9967 | 9500 (LIBOCTAVE_CXX_SOURCES): |
3984 | 9501 |
3971 | 9502 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9503 | |
9504 * NLEqn.cc (NLEqn::error_message): New function. | |
9505 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
9506 | |
3970 | 9507 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9508 | |
9509 * lo-utils.cc (octave_fgetl): New function. | |
9510 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
9511 | |
3959 | 9512 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
9513 | |
9514 * LSODE.cc (LSODE::error_message): New function. | |
9515 * LSODE.h: Provide decl. | |
9516 (LSODE::integration_state): New function. | |
9517 (LSODE::integration_ok): New function. | |
9518 | |
3952 | 9519 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9520 | |
3955 | 9521 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
9522 (LSODE_options::set_integration_method, | |
9523 LSODE_options::integration_method): New functions. | |
3954 | 9524 |
3952 | 9525 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
9526 Change all uses. | |
9527 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
9528 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
9529 New function. | |
9530 | |
9531 * Array.h (Array::fortran_vec): New const version. | |
9532 | |
3951 | 9533 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9534 | |
9535 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
9536 (gnu_readline::history_search_forward): Likewise. | |
9537 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
9538 to extern "C" functions to octave_rl_ad_defun. | |
9539 | |
5095 | 9540 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 9541 |
9542 * DASPK.cc (ddaspk_psol): Return value. | |
9543 * oct-rl-edit.c: Use /* ... */ to comment. | |
9544 | |
3945 | 9545 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9546 | |
9547 * DASSL.h (DASSL_options::init): Undo previous change. | |
9548 (DASSL_options::set_absolute_tolerance): Likewise. | |
9549 * LSODE.h (LSODE_options::init): Likewise. | |
9550 (LSODE_options::set_absolute_tolerance): Likewise. | |
9551 | |
9552 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
9553 sqrt(eps), not eps^2. | |
9554 DASPK_options::set_absolute_tolerance): Likewise. | |
9555 | |
5095 | 9556 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 9557 |
9558 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
9559 object. | |
9560 | |
3933 | 9561 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9562 | |
9563 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
9564 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
9565 (octave_rl_set_basic_word_break_characters, | |
9566 octave_rl_set_completer_word_break_characters): New functions. | |
9567 * oct-rl-edit.h: Provide decls. | |
9568 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
9569 gnu_readline::do_set_completer_word_break_characters): New functions. | |
9570 (command_editor::set_basic_quote_characters, | |
9571 command_editor::set_completion_append_character): New static functions. | |
9572 * cmd-edit.h: Provide decls. | |
9573 (command_editor::do_set_basic_word_break_characters, | |
9574 command_editor::do_set_completer_word_break_characters): | |
9575 New virtual functions. | |
9576 | |
9577 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
9578 (resize_fill_value): New static function. | |
9579 | |
9580 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
9581 resize_fill_value. | |
9582 * Array2-idx.h (Array2<T>::index): Likewise. | |
9583 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
9584 | |
9585 * Array2.cc (Array<T>::print_info): New function. | |
9586 * Array2.h: Provide decl. | |
9587 | |
9588 * Array.cc (Array<T>::print_info): New function. | |
9589 * Array.h: Provide decl. | |
9590 | |
3928 | 9591 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9592 | |
9593 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
9594 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
9595 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
9596 | |
9597 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
9598 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
9599 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
9600 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
9601 | |
9967 | 9602 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 9603 |
9604 * Array3.h (Array3<T>::checkelem): Improve error message. | |
9605 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
9606 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
9607 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
9608 | |
3919 | 9609 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9610 | |
9611 * DASSL.h (DASSL_options::init): Undo previous change. | |
9612 (DASSL_options::set_absolute_tolerance): Likewise. | |
9613 | |
3912 | 9614 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
9615 | |
9616 * DASPK.h, DASPK.cc: New files. | |
9617 * Makefile.in: Add them to the appropriate lists. | |
9618 | |
3904 | 9619 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9620 | |
9621 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
9622 Simplify indexing when one or both of the indices are empty. | |
9623 | |
3896 | 9624 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9625 | |
9626 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
9627 (DASSL_options::set_absolute_tolerance): Likewise. | |
9628 * LSODE.h (LSODE_options::init): Likewise. | |
9629 (LSODE_options::set_absolute_tolerance): Likewise. | |
9630 | |
5095 | 9631 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 9632 |
9633 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
9634 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
9635 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
9636 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
9637 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
9638 * file-stat.h: Likewise. | |
9639 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
9640 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
9641 instead of HAVE_STRUCT_TM_TM_ZONE. | |
9642 * strftime.c: Likewise. | |
9643 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
9644 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
9645 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
9646 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
9647 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
9648 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
9649 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
9650 | |
5095 | 9651 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 9652 |
9967 | 9653 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
3883 | 9654 internally when the user requests it. |
9655 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
9656 * dbleQR.cc (QR::init): Ditto. | |
9657 * dbleQRP.cc (QRP::init): Ditto. | |
9658 | |
3874 | 9659 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9660 | |
9661 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
9662 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
9663 (octave_fftw::ifft2d): Likewise. | |
9664 | |
5095 | 9665 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 9666 |
9667 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
9668 | |
3867 | 9669 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9670 | |
9671 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
9672 (LS_DO_WRITE): Likewise. | |
9967 | 9673 |
3864 | 9674 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9675 | |
9676 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
9677 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
9678 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
9679 | |
9680 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
9681 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
9682 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
9683 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
9684 | |
9685 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
9686 DIM == -1 now means no orientation for vector sums. | |
9687 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
9688 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
9689 | |
3858 | 9690 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9691 | |
9692 * Range.cc (Range::nelem_internal): Special case ranges that must | |
9693 have zero elements. | |
9694 | |
3854 | 9695 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9696 | |
3857 | 9697 * Makefile.in: Split out readline and pathsearch functionality |
9698 into separate liboct-readline and liboct-pathsearch libraries. | |
9699 | |
3854 | 9700 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 9701 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
9702 to do nothing for this call to rl_clear_screen. | |
3854 | 9703 |
3849 | 9704 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9705 | |
9706 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
9707 function. | |
9708 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
9709 | |
3838 | 9710 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9711 | |
9712 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
9713 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
9714 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
9715 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
9716 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
9717 | |
3836 | 9718 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9719 | |
9720 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
9721 | |
9722 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
9723 Array-b.cc: Instantiate three arg assign functions. | |
9724 | |
9725 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
9726 New arg, resize_fill_value. | |
9727 * ArrayN.h: Provide declaration. | |
9728 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
9729 three arg version. | |
9730 | |
9731 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
9732 New arg, resize_fill_value. | |
9733 * Array3.h: Provide declaration. | |
9734 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
9735 three arg version. | |
9736 | |
9737 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
9738 New arg, resize_fill_value. | |
9739 * Array2.h: Provide declaration. | |
9740 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
9741 three arg version. | |
9742 | |
9743 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
9744 New arg, resize_fill_value. | |
9745 * Array.h: Provide declaration. | |
9746 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
9747 three arg version. | |
9748 | |
3833 | 9749 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9750 | |
9751 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
9752 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
9753 to the empty string. | |
9754 | |
3832 | 9755 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9756 | |
9757 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
9758 Don't check for rep != a.rep. | |
9759 | |
3827 | 9760 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
9761 | |
9762 * oct-fftw.h, oct-fftw.cc: New files. | |
9763 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
9967 | 9764 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
3827 | 9765 ifourier2d}): Use fftw if available. |
9967 | 9766 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
3827 | 9767 Likewise. |
9768 | |
3821 | 9769 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9770 | |
9771 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
9772 (install-inc): Don't use mk-includedir-link. | |
9773 | |
3803 | 9774 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9775 | |
9776 * lo-cutils.c (octave_gethostname): New function. | |
9777 * lo-utils.h: Provide declaration. | |
9778 * oct-env.cc (octave_env::do_get_host_name): | |
9779 Call octave_gethostname, instead of gethostname. | |
9780 | |
9781 * lo-cutils.c (gethostname): Define here. | |
9782 * lo-sysdep.cc: Not here. | |
9783 | |
3786 | 9784 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9785 | |
9786 * lo-cutils.c: Don't declare strptime. | |
9787 (oct_strptime): Cast return type of strptime to char*. | |
9788 | |
3777 | 9789 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9790 | |
3779 | 9791 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
9792 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
9793 (octave_rl_read_init_file): Ditto. | |
9794 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
9795 free_undo_list. | |
9796 (octave_rl_completion_matches): Call rl_completion_matches, not | |
9797 completion_matches. | |
9798 (octave_rl_enable_paren_matching): New function. | |
9799 (octave_rl_set_blink_matching_paren_flag): Delete. | |
9800 (octave_rl_get_blink_matching_paren_flag): Delete. | |
9801 | |
3777 | 9802 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
9967 | 9803 tanh (const Complex&)): Declare and define if not |
3777 | 9804 CXX_ISO_COMPLIANT_LIBRARY. |
9805 | |
3776 | 9806 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
9807 | |
9808 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
9809 CXX_ISO_COMPLIANT_LIBRARY. | |
9810 | |
3775 | 9811 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
9812 | |
3776 | 9813 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
9814 CXX_ISO_COMPLIANT_LIBRARY. | |
9815 | |
3775 | 9816 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
9817 archive libraries containing templates. | |
9818 | |
9819 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
9967 | 9820 get_zero_len_size, all_colon_equiv): Inline. |
3775 | 9821 (ArrayN<T>::index): Rename idx to arr_idx. |
9967 | 9822 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
3775 | 9823 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
9824 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
9825 | |
9826 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9827 | |
9828 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
9829 log10 (const Complex&)): Delete. | |
9830 | |
9831 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
9832 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
9833 sinh, sqrt, tan, and tanh. | |
9834 | |
3769 | 9835 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9836 | |
9837 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
9838 Add std:: namespace qualifier as needed. | |
9839 | |
9840 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
9841 Change all uses to match. | |
9842 | |
3767 | 9843 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9844 | |
9845 * lo-cutils.c: Don't delcare strptime. | |
9846 | |
3760 | 9847 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9848 | |
9849 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
9850 Return correct size result for empty matrix case. | |
9851 | |
3757 | 9852 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9853 | |
9854 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
9855 If args are equal in magnitude, return first arg instead of | |
9856 second. | |
9857 | |
3752 | 9858 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
9859 | |
3755 | 9860 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
9861 then try harder to compute correct number of elements. | |
3753 | 9862 |
3752 | 9863 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
9864 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
9865 | |
3750 | 9866 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
9867 | |
3751 | 9868 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
9869 Rename n_intervals to be n_elt. | |
9870 | |
3750 | 9871 * strptime.c: Surround everything after including config.h in |
9872 #ifndef HAVE_STRPTIME ... #endif. | |
9873 | |
3742 | 9874 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9875 | |
9876 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
9877 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
9878 | |
3741 | 9879 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9880 | |
9881 * MArray-defs.h: Protect against multiple inclusion. | |
9882 | |
3739 | 9883 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9884 | |
9885 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
9886 end of the list, to be compatible with previous versions of Octave. | |
9887 | |
3736 | 9888 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
9889 | |
9890 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
9891 since mktime is supposed to `normalize' the results for us. | |
9892 | |
3731 | 9893 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
9894 | |
9895 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 9896 and vectors. Use xelem for faster access to elements when copying. |
3731 | 9897 |
3726 | 9898 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9899 | |
9900 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
9901 Correct indexing for operation across rows. | |
9902 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
9903 | |
3725 | 9904 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
9905 | |
9906 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
9907 elements if arg is a colon. | |
9908 | |
5095 | 9909 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 9910 |
3795 | 9911 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 9912 (Matrix::cumsum (int) const): Likewise. |
9913 (Matrix::prod (int) const): Likewise. | |
9914 (Matrix::sum (int) const): Likewise. | |
9915 (Matrix::sumsq (int) const): Likewise. | |
9916 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
9917 (ComplexMatrix::cumsum (int) const): Likewise. | |
9918 (ComplexMatrix::prod (int) const): Likewise. | |
9919 (ComplexMatrix::sum (int) const): Likewise. | |
9920 (ComplexMatrix::sumsq (int) const): Likewise. | |
9921 | |
3722 | 9922 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9923 | |
9924 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
9925 size if Array<T>::index returns an empty array. | |
9926 | |
3710 | 9927 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9928 | |
9929 * file-ops.cc (file_ops::link, file_ops::symlink, | |
9930 file_ops::readlink): New functions. | |
9931 | |
3709 | 9932 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9933 | |
9934 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
9935 indexed, always return an object the same size as the index arg. | |
9936 | |
9937 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
9938 empty format. | |
9939 | |
3706 | 9940 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9941 | |
9942 * lo-cutils.c (oct_strptime): New function. | |
9943 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
9944 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
9945 | |
3702 | 9946 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9947 | |
3703 | 9948 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
9949 | |
3702 | 9950 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
9951 | |
3689 | 9952 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9953 | |
9954 * dMatrix.h (read_int): Provide declaration. | |
9955 | |
3688 | 9956 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
9957 | |
9958 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
9959 (write_doubles): Ditto. | |
9960 * data-conv.h: Ditto. | |
9961 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
9962 | |
3685 | 9963 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
9964 | |
9965 * boolMatrix.h: Declare MM_CMP_OPS here. | |
9966 * boolMatrix.cc: Define them here. | |
9967 | |
3680 | 9968 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9969 | |
9970 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
9971 previously undefined and set size of x to size of bool index. | |
9972 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
9973 Allow z_len to be zero. | |
9974 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
9975 If frozen, don't assert that frozen_at_z_len == z_len. | |
9976 | |
3670 | 9977 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9978 | |
9979 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
9980 instead of rl_clear_screen. | |
9981 | |
3665 | 9982 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9983 | |
9984 * Array-d.cc: Instantiate ArrayN<double> here too. | |
9985 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
9986 * Makefile.in: Add them to the appropriate lists. | |
9987 | |
3657 | 9988 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9989 | |
9990 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
9991 | |
3635 | 9992 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9993 | |
9994 * lo-sysdep.h: octave_chdir returns int, not bool. | |
9995 | |
3615 | 9996 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
9997 | |
9998 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
9999 before rebuilding. | |
10000 | |
5095 | 10001 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 10002 |
5261 | 10003 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 10004 (libraries): Depend only on library targets, not archive members. |
10005 | |
3613 | 10006 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
10007 | |
10008 * Makefile.in: (objects): New target. | |
10009 | |
10010 * lo-cutils.c: New file. | |
10011 * Makefile.in (SOURCES): Add it to the list. | |
10012 * lo-utils.h: Declare octave_qsort here. | |
10013 * Array.h (Array::qsort): Use it here. | |
10014 | |
3607 | 10015 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10016 | |
10017 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
10018 | |
3598 | 10019 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10020 | |
10021 * oct-rl-hist.c (octave_history_list): Do something when not | |
10022 printing line numbers. Fix reallocation of retval. | |
10023 | |
3597 | 10024 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10025 | |
10026 * Makefile.in (install-inc): Install files in | |
10027 $(octincludedir)/octave. | |
10028 (uninstall): Remove them from the correct directory too. | |
10029 | |
10030 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
10031 they are not already defined. | |
10032 | |
3588 | 10033 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10034 | |
10035 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
10036 Delete declarations and definitions of mixed-type vector-vector ops. | |
10037 | |
3585 | 10038 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
10039 | |
10040 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
10041 matrix and vector objects. | |
10042 | |
10043 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
10044 return type from second arg type. | |
10045 (MDM_BIN_OP): Likewise, for first arg type. | |
10046 | |
10047 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
10048 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
10049 | |
10050 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
10051 request ColumnVector to ComplexColumnVector, and Matrix to | |
10052 ComplexMatrix conversions. | |
10053 | |
10054 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
10055 initial value using ComplexMatrix constructor. | |
10056 | |
10057 * CColVector.cc (product, quotient, | |
10058 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
10059 Fix type of returned value. | |
10060 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
10061 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
10062 | |
10063 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
10064 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
10065 dRowVector.h: Declare some constructors explicit, to disallow | |
10066 potentially problematic automatic type conversions. | |
10067 | |
3580 | 10068 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
10069 | |
3582 | 10070 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
10071 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
10072 More new files. | |
10073 * Makefile.in: Add them to the appropriate lists. | |
10074 | |
10075 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
10076 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
10077 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
10078 vx-s-crv.cc:, New files. | |
10079 * Makefile.in: Add them to the appropriate lists. | |
10080 | |
10081 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
10082 Delete scalar by vector and vector by scalar binary ops. | |
10083 | |
3580 | 10084 * MArray-defs.h: More new macros to handle MDiagArray operators. |
10085 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
10086 | |
3573 | 10087 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
10088 | |
3578 | 10089 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
10090 rl_event_hook before casting to void **. | |
10091 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
10092 | |
3574 | 10093 * MArray-defs.h: Many new macros to make declaration and |
10094 definition of operators more consistent. | |
9967 | 10095 |
3574 | 10096 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
10097 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 10098 |
3569 | 10099 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10100 | |
3572 | 10101 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
10102 (Matrix::ifourier2d): Likewise. | |
10103 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
10104 (ComplexMatrix::ifourier2d): Likewise. | |
10105 | |
3569 | 10106 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
10107 | |
3504 | 10108 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
10109 | |
3519 | 10110 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
10111 readline library. | |
10112 * Makefile.in: Add them to the appropriate lists. | |
10113 | |
10114 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
10115 readline history library. | |
10116 * Makefile.in: Add them to the appropriate lists. | |
10117 | |
3517 | 10118 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
10119 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 10120 (write_doubles): Likewise. |
10121 (read_doubles): Likewise. | |
3517 | 10122 |
3516 | 10123 * oct-env.cc (octave_env::do_polite_directory_format): |
10124 Use operator== and substr method to do limited-length string | |
10125 comparison. | |
10126 | |
3513 | 10127 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 10128 |
3511 | 10129 * Quad.h: Use do_integrate as name of pure virtual function. |
10130 | |
3508 | 10131 * base-de.h: Use tt instead of t as arg names. |
3511 | 10132 Add method with tcrit arg. |
10133 | |
3509 | 10134 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 10135 |
3507 | 10136 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
10137 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
10138 * Quad.cc (quad_fcn_ptr): Ditto. | |
10139 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
10140 | |
3505 | 10141 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 10142 * Makefile.in: Add them to the appropriate lists. |
3505 | 10143 |
10144 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 10145 * Makefile.in: Add them to the appropriate lists. |
3505 | 10146 |
3504 | 10147 * dMatrix.cc (write_int, read_int): No longer declared static. |
10148 | |
10149 * CDiagMatrix.h: Delete decls for friend operators that are | |
10150 handled by MDiagArray2 class. Move others outside class decl and | |
10151 strip friend status. | |
10152 * dDiagMatrix.h: Likewise. | |
10153 | |
10154 * MArray.h: Delete decls for friend operators inside class decl. | |
10155 * MArray2.h: Ditto. | |
10156 * MDiagArray2.h: Ditto. | |
10157 | |
10158 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
10159 necessary parameters. Don't allocate memory in the macro. Change | |
10160 all uses. | |
10161 | |
10162 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
10163 * CMatrix.h (class ComplexMatrix): Ditto. | |
10164 | |
10165 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
10166 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
10167 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
10168 avoid type conflicts. Change all uses. | |
10169 | |
10170 * strptime.c (__mon_yday): Fix size of array decl. | |
10171 | |
10172 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
10173 | |
10174 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
10175 default value for second arg. | |
10176 | |
10177 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
10178 references to ArrayRep. | |
10179 | |
3503 | 10180 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
10181 | |
3504 | 10182 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 10183 |
10184 * All source files: Include iostream, fstream, strstream, | |
10185 etc. as needed instead of using forward declarations for these | |
3504 | 10186 classes. Add std:: qualifier as needed. |
3503 | 10187 |
3498 | 10188 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10189 | |
10190 * oct-time.cc: Declare strptime extern "C". | |
10191 | |
3496 | 10192 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10193 | |
10194 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
10195 | |
3488 | 10196 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10197 | |
3492 | 10198 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
10199 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
10200 to get total size to be allocated. | |
10201 | |
3488 | 10202 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
10203 as bool, not int. | |
10204 | |
3482 | 10205 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
10206 | |
9967 | 10207 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
3482 | 10208 Allow A(idx) = RHS if idx is a boolean index with the same shape |
10209 as A, even when do_fortran_indexing is not enabled. | |
10210 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
10211 | |
3473 | 10212 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10213 | |
3480 | 10214 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
10215 function pointer as final arg. Passed function (if any) will be | |
10216 called for singularity errors. | |
10217 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
10218 | |
10219 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
10220 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
10221 | |
3475 | 10222 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
10223 No longer bother with infinity or quiet_nan. | |
10224 | |
3473 | 10225 * Array2.cc (Array2<T>::get_size): New function. |
10226 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
10227 | |
3472 | 10228 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10229 | |
10230 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
10231 New function. | |
10232 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
10233 Use it when indexing with one arg instead of faking a second one. | |
10234 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
10235 Return empty matrices with the correct dimensions for A(:,:) = [] | |
10236 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
10237 rows or columns. | |
10238 | |
10239 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
10240 vector that is all true values with a length equal to n as colon | |
10241 equivalent. | |
10242 | |
3470 | 10243 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
10244 | |
10245 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
10246 | |
5095 | 10247 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 10248 |
10249 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
10250 operations directly in step 2 and reverse step 2. | |
10251 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
10252 operations directly in step 2 and reverse step 2. | |
10253 | |
3465 | 10254 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10255 | |
10256 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
10257 | |
10258 * strptime.c: New file, from glibc 2.1.2. | |
10259 * Makefile.in (SOURCES): Add strptime.c to the list. | |
10260 | |
3419 | 10261 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10262 | |
10263 * MArray.h (MArray <const Array<T>&)): New constructor. | |
10264 | |
3415 | 10265 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10266 | |
10267 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
10268 NULL directory list returned from kpse_element_dirs | |
10269 | |
3375 | 10270 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10271 | |
10272 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
10273 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
10274 directly, instead of calling ZGESV. | |
10275 | |
3358 | 10276 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10277 | |
10278 * data-conv.cc (init_sized_type_lookup_table): New function. | |
10279 (string_to_data_type): Use it to improve lookup of data types. | |
10280 | |
3354 | 10281 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
10282 | |
10283 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
10284 * Array2.h (is_symmetric): Delete declaration. | |
10285 | |
3347 | 10286 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10287 | |
10288 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
10289 | |
3344 | 10290 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
10291 | |
10292 * oct-time.cc (Fstrftime): Undo previous change. | |
10293 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
10294 | |
3334 | 10295 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10296 | |
3336 | 10297 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
10298 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
10299 | |
3334 | 10300 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
10301 Don't forget to pass length of third string argument to dgeesx. | |
10302 | |
10303 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
10304 of third string argument to zgeesx. | |
10305 | |
3333 | 10306 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10307 | |
10308 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
10309 On errors, simply return `T ()'. | |
10310 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
10311 | |
5095 | 10312 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 10313 |
10314 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
10315 AEPBALANCE class. | |
10316 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
10317 | |
3325 | 10318 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10319 | |
10320 * oct-shlib.cc, oct-shlib.h: New files. | |
10321 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
10322 | |
3322 | 10323 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
10324 | |
10325 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
10326 * dRowVector.cc (linspace): Ditto. | |
10327 | |
10328 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
10329 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
10330 | |
3312 | 10331 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
10332 | |
10333 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
10334 to evaluate the Jacobian, set info(4), not iwork(4). | |
10335 Set rwork(1) to the maximum step size, not rwork(2). | |
10336 | |
3290 | 10337 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10338 | |
10339 * oct-time.cc: Include <climits>. | |
10340 | |
3281 | 10341 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
10342 | |
10343 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
10344 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
10345 (gnu_readline::do_resize_terminal): New function. | |
10346 | |
3268 | 10347 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10348 | |
10349 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
10350 * lo-ieee.c: Likewise. | |
10351 Delete extern "C" declarations for infinity and quiet_nan. | |
10352 | |
3262 | 10353 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10354 | |
3263 | 10355 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
10356 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
10357 `inline', not `static inline'. | |
10358 | |
3262 | 10359 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
10360 then cast to const int * to compare. | |
10361 | |
3257 | 10362 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10363 | |
10364 * DAEFunc.h: Remove useless preprocessor conditional. | |
10365 | |
3255 | 10366 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10367 | |
3257 | 10368 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
10369 Use octave_time object instead of time_t. | |
10370 | |
10371 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
10372 file_stat::fs_ctime): Now octave_time objects. | |
10373 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
10374 Return octave_time objects. | |
10375 (file_stat::is_newer): Args are now octave_time objects instead of | |
10376 time_t. | |
10377 | |
3255 | 10378 * oct-time.h (octave_time::as_double): Delete. |
10379 (octave_time::operator double ()): New function. | |
10380 (octave_time::operator time_t ()): New function. | |
10381 (octave_time::ctime): New function. | |
10382 (octave_base_tm::strftime): Renamed from format_as_string. | |
10383 (octave_base_tm::asctime): New function. | |
10384 (operator == (const octave_time&, const octave_time&), | |
10385 operator != (const octave_time&, const octave_time&), | |
10386 operator < (const octave_time&, const octave_time&), | |
10387 operator <= (const octave_time&, const octave_time&), | |
10388 operator > (const octave_time&, const octave_time&), | |
10389 operator >= (const octave_time&, const octave_time&)): | |
10390 New comparison functions. | |
10391 | |
10392 * strftime.c: Move here from src directory. | |
10393 * Makefile.in (SOURCES): Add it to the list. | |
10394 | |
10395 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
10396 | |
3253 | 10397 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10398 | |
10399 * oct-time.h, oct-time.cc: New files. | |
10400 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
10401 | |
10402 * systime.h: Move here from src directory. | |
10403 * Makefile.in (INCLUDES): Add it to the list. | |
10404 | |
3248 | 10405 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10406 | |
10407 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
10408 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
10409 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
10410 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
10411 | |
10412 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
10413 | |
3243 | 10414 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10415 | |
10416 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
10417 | |
10418 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10419 | |
10420 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
10421 column vector for A(:), for compatibility with Matlab. | |
10422 | |
10423 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10424 | |
10425 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
10426 iopt when there are optional inputs in rwork or iwork. | |
10427 | |
3238 | 10428 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10429 | |
10430 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
10431 creating static libs. | |
10432 | |
5095 | 10433 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 10434 |
10435 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
10436 and uint32 data types. | |
10437 | |
10438 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10439 | |
10440 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
10441 for Linux. Remove old Linux-specific code. | |
10442 | |
3233 | 10443 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10444 | |
10445 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
10446 Don't require lengths to be equal. | |
10447 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
10448 ComplexRowVector& a)): Likewise | |
10449 | |
5095 | 10450 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 10451 |
10452 * statdefs.h: Only define mode_t if not already defined. | |
10453 | |
5095 | 10454 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 10455 |
10456 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
10457 when appropriate. | |
10458 | |
10459 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10460 | |
10461 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
10462 before calling rl_initialize. | |
10463 | |
3220 | 10464 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10465 | |
10466 * lo-specfun.cc (besselh, airy, biry): New functions. | |
10467 Update Bessel function support to use library by D. E. Amos. | |
10468 | |
3219 | 10469 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10470 | |
10471 * cmd-edit.h (command_editor::readline): Add new variation that | |
10472 allows EOF information to be passed back to caller. | |
10473 | |
10474 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
10475 amount of data to read is unspecified. | |
10476 | |
3215 | 10477 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10478 | |
3219 | 10479 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
10480 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
10481 | |
9967 | 10482 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
3215 | 10483 Add volatile qualifier to void* arg. |
10484 Cast volatile void* arg to volatile char*. | |
10485 | |
10486 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10487 | |
10488 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
10489 (command_editor::do_restore_event_hook): Ditto. | |
10490 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
10491 (command_editor::restore_event_hook): Ditto. | |
10492 (gnu_readline::do_set_event_hook): Ditto. | |
10493 (gnu_readline::do_restore_event_hook): Ditto. | |
10494 (gnu_readline::previous_event_hook): New data member. | |
10495 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
10496 | |
3206 | 10497 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10498 | |
10499 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
10500 | |
10501 * Makefile.in (stmp-pic): New target. | |
10502 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
10503 (clean): Remove stmp-pic | |
10504 | |
10505 * Makefile.in: Undo previous change to avoid optmization when | |
10506 compiling lo-ieee.cc. | |
10507 | |
10508 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10509 | |
10510 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
10511 imaginary parts. | |
10512 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
10513 | |
3203 | 10514 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10515 | |
10516 * boolMatrix.cc (boolMatrix::operator !): New function. | |
10517 | |
3196 | 10518 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10519 | |
10520 * pathsearch.h (dir_path::default_path): New data member. | |
10521 * pathsearch.cc (dir_path::init): Use it. | |
10522 | |
10523 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
10524 | |
3189 | 10525 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10526 | |
10527 * chMatrix.cc (charMatrix::extract): New function. | |
10528 (charMatrix::charMatrix (char c)): New constructor. | |
10529 | |
10530 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10531 | |
10532 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
10533 * cmd-edit.cc (command_editor::read_init_file): New function. | |
10534 (gnu_readline::do_read_init_file): Likewise. | |
10535 | |
3185 | 10536 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10537 | |
9967 | 10538 * oct-env.cc (octave_env::do_get_home_directory): |
3185 | 10539 If HOME can't be found, set it to "/". |
10540 (octave_env::do_get_user_name) | |
10541 If user name can't be found, set it to "unknown". | |
10542 (octave_env::do_get_host_name) | |
10543 If host name can't be found, set it to "unknown". | |
10544 | |
10545 * pathsearch.h (dir_path::rehash): New function. | |
10546 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
10547 diretcory cache before doing initialization. | |
10548 | |
3180 | 10549 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10550 | |
3185 | 10551 * dMatrix.cc (Qzval): Delete. |
10552 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
10553 * dMatrix.h (Qzval): Delete declaration. | |
10554 | |
10555 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
10556 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
10557 * mx-ext.h: Don't include dbleGEPBAL. | |
10558 | |
3180 | 10559 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
10560 static_cast. | |
10561 | |
10562 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10563 | |
10564 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
10565 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
10566 | |
10567 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10568 | |
10569 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
10570 HUGE_VAL and NAN. | |
10571 | |
10572 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10573 | |
10574 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
10575 Handle x(i) = scalar for do_fortran_indexing == 1. | |
10576 | |
10577 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10578 | |
10579 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
10580 Alloctate space before attempting to use it. | |
10581 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
10582 | |
5095 | 10583 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 10584 |
10585 * EIG.cc (EIG::init): Move invariant code outside loop. | |
10586 | |
10587 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10588 | |
10589 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
10590 have the same size as the operands. | |
9967 | 10591 |
3178 | 10592 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10593 | |
10594 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
10595 call to ddassl, set integration_error to 1 before calling the | |
10596 error handler and returning. | |
10597 * LSODE.cc (LSODE::do_integrate): Likewise. | |
10598 | |
3177 | 10599 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10600 | |
10601 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
10602 do_fortran_indexing is set, A([]) = scalar. | |
10603 * Array-idx.h (assign): Allow A([]) = scalar. | |
10604 | |
3176 | 10605 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10606 | |
10607 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
10608 if dm_nc == 0. | |
10609 | |
3174 | 10610 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10611 | |
10612 * pathsearch.h (dir_path::p_orig): New field. | |
10613 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
10614 expansion on the original path here. | |
10615 (dir_path::find_all): Don't do anything if not initialized. | |
10616 | |
3164 | 10617 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10618 | |
10619 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
10620 is not set. | |
10621 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
10622 | |
10623 * lo-specfun.cc (gammainc): Use dgamit to compute | |
10624 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
10625 \int_0^x exp(-t) t^(a-1) dt. | |
10626 | |
10627 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10628 | |
10629 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
10630 Array-s.cc: Change return types of all `assign' explicit | |
10631 instantiations to be int, not void, to match the template decl in | |
10632 Array.h. | |
10633 | |
3162 | 10634 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10635 | |
10636 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
10637 | |
3156 | 10638 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10639 | |
10640 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
10641 * lo-mappers.cc: Not here. | |
10642 | |
10643 * lo-specfun.h: Declare xgamma and xlgamma here. | |
10644 * lo-mappers.h: Not here. | |
10645 | |
10646 * lo-specfun.h: Never declare gamma or lgamma. | |
10647 | |
3154 | 10648 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10649 | |
10650 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
10651 empty matrix of any dimension. | |
10652 | |
3145 | 10653 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10654 | |
3147 | 10655 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
10656 | |
3146 | 10657 * lo-specfun.cc: Don't include dbleBessel.h. |
10658 | |
10659 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
10660 | |
3145 | 10661 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
10662 * file-stat.h (file_stat::operator bool ()): Likewise. | |
10663 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
10664 * oct-group.h (octave_group::operator bool ()): Likewise. | |
10665 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
10666 | |
10667 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
10668 Don't cast arg in call to swap_8_bytes. | |
10669 (IEEE_big_double_to_IEEE_little_double): Ditto | |
10670 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
10671 swap_4_bytes. | |
10672 (IEEE_little_float_to_IEEE_big_float): Ditto | |
10673 | |
10674 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
10675 * prog-args.cc (prog_args::getopt): Likewise. | |
10676 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
10677 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
10678 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
10679 Likewise. | |
10680 | |
10681 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
10682 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
10683 | |
3141 | 10684 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10685 | |
10686 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
10687 Use $(mk-libdir-link). | |
10688 | |
10689 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
10690 not SAFE_STAT and SAFE_LSTAT. | |
10691 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
10692 * safe-xstat.hin, safe-xstat.cin: Delete. | |
10693 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
10694 safe-lstat.h, and safe-lstat.cc. | |
10695 | |
3136 | 10696 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10697 | |
10698 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
10699 | |
3130 | 10700 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10701 | |
10702 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
9967 | 10703 trace is negative. |
3130 | 10704 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
10705 the real part of the trace is negative. | |
10706 | |
10707 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10708 | |
10709 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
10710 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
10711 | |
10712 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
10713 to succeed. | |
10714 | |
3125 | 10715 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10716 | |
10717 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
10718 (make_uniq): Likewise. | |
10719 | |
10720 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10721 | |
10722 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
10723 | |
3119 | 10724 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10725 | |
3121 | 10726 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
10727 | |
10728 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 10729 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
10730 | |
3121 | 10731 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
10732 oct-math.h: Delete. | |
10733 * Makefile.in (SOURCES): Delete them from the list. | |
10734 | |
3112 | 10735 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10736 | |
10737 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
10738 | |
5095 | 10739 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 10740 |
10741 Changes to make support egcs snapshots that implement explicit | |
10742 specification of template functions according to CD2. | |
10743 | |
10744 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
10745 template function specs for template friends. | |
10746 * MArray2.h: Likewise. | |
10747 * MDiagArray2.h: Likewise. | |
10748 | |
3095 | 10749 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10750 | |
10751 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
10752 | |
3092 | 10753 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
10754 | |
9967 | 10755 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
3092 | 10756 to complex<double>(int) instead of complex<double>(double). |
10757 | |
10758 * lo-mappers.cc (atanh): Ditto. | |
10759 | |
3079 | 10760 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10761 | |
10762 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
10763 * idx-vector.h (idx_vector::sort): Ditto. | |
10764 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
10765 trying to delete elements specified by the index vectors. | |
10766 | |
3075 | 10767 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10768 | |
10769 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
10770 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
10771 | |
3074 | 10772 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10773 | |
10774 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
10775 | |
3069 | 10776 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10777 | |
10778 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
10779 Call error handler if we can't find the current directory. | |
10780 | |
3068 | 10781 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10782 | |
3069 | 10783 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
10784 (xfinite (double)): Ditto. | |
10785 | |
3068 | 10786 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
10787 * CmplxQR.cc (ComplexQR::init): Ditto. | |
10788 | |
3056 | 10789 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10790 | |
10791 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
10792 compatible with Matlab. | |
10793 | |
3050 | 10794 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10795 | |
10796 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
10797 single colon. | |
10798 | |
3040 | 10799 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10800 | |
3049 | 10801 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
10802 (xgamma): Likewise, for calling xdgamma. | |
10803 | |
3042 | 10804 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
10805 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
10806 | |
3040 | 10807 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
10808 to do better job expanding tildes. | |
10809 | |
10810 * str-vec.cc (string_vector::string_vector (const char * const *): | |
10811 Use temporary variable to compute length. | |
10812 | |
3029 | 10813 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10814 | |
3034 | 10815 * Makefile.in: Make building of static library optional. |
3036 | 10816 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 10817 |
3029 | 10818 * Makefile.in (stamp-picdir): Delete. |
10819 (pic): New target. Don't worry so much about creating pic | |
10820 directory only when it is really needed. | |
10821 (stamp-interp): Delete. | |
10822 (libraries): New target. Depend on shared library directly. | |
10823 | |
3024 | 10824 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10825 | |
10826 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
10827 New static function. | |
10828 | |
3012 | 10829 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10830 | |
10831 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
10832 | |
3004 | 10833 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10834 | |
10835 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
10836 set_basic_quote_characters, to match new version of readline. | |
10837 | |
10838 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
10839 for restoring terminal state through rl_deprep_term_function, now | |
10840 declared in readline.h | |
10841 (rl_deprep_terminal): Delete declaration. | |
10842 | |
2993 | 10843 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10844 | |
10845 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
10846 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
10847 | |
2968 | 10848 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10849 | |
10850 * cmd-edit.cc (command_editor::increment_current_command_number): | |
10851 New static function. | |
10852 | |
2964 | 10853 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10854 | |
2966 | 10855 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
10856 the vector is not sorted. | |
10857 | |
2964 | 10858 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
10859 * dMatrix.cc (Matrix::operator !): Likewise | |
10860 | |
2941 | 10861 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10862 | |
10863 * oct-syscalls.h, oct-syscalls.cc: New files. | |
10864 | |
10865 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
10866 | |
10867 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
10868 | |
2938 | 10869 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10870 | |
2941 | 10871 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
10872 (install-inc): Use it. | |
10873 | |
2938 | 10874 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
10875 Handle errors and missing functions consistently. | |
10876 | |
10877 * oct-group.h, oct-group.cc: New files. | |
10878 | |
10879 * oct-passwd.cc: Handle errors and missing functions consistently. | |
10880 | |
10881 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
10882 | |
2934 | 10883 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10884 | |
10885 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
10886 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
10887 | |
10888 * oct-passwd.h, oct-passwd.cc: New files. | |
10889 | |
2926 | 10890 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10891 | |
10892 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
10893 | |
10894 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
10895 (instance_ok ()): New function. | |
10896 | |
10897 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
10898 | |
10899 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
10900 | |
10901 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
10902 src/utils.h and src/utils.cc. | |
10903 (octave_fgets): New function, extracted from src/input.cc. | |
10904 | |
10905 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
10906 GNU readline, and allow Octave to work without GNU readline. | |
10907 | |
10908 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
10909 system-dependent functions. | |
10910 | |
10911 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
10912 | |
10913 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
10914 from file-ops.h and file-ops.cc and move here. | |
10915 | |
10916 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
10917 tilde_expand functions here from src/dirfns.cc. | |
10918 | |
10919 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10920 | |
10921 * pathlen.h: New file, from ../src. | |
10922 | |
2917 | 10923 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10924 | |
10925 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
10926 out-of-bounds indexing of the index array. | |
10927 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
10928 | |
2850 | 10929 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10930 | |
10931 * LSODE.h (x_step_limit): New field. | |
10932 (LSODE_options::init): Initialize it. | |
10933 (LSODE_options::copy): Copy it. | |
10934 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
10935 New functions. | |
10936 (LSODE::working_too_hard): Delete. | |
10937 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
10938 | |
2844 | 10939 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10940 | |
10941 * MArray-b.cc: Delete. | |
10942 * Makefile.in: Delete it from the lists. | |
10943 | |
10944 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
10945 MArray2, since most of the numeric ops don't really make sense. | |
10946 | |
2829 | 10947 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10948 | |
2832 | 10949 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
10950 | |
10951 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
10952 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
10953 | |
2830 | 10954 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
10955 idx_vector::freeze): Delete prefer_zero_one arg. | |
10956 * Array-idx.h, Array2-idx.h: Change all callers. | |
10957 | |
10958 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
10959 | |
2829 | 10960 * mx-op-defs.h: New file for operator definitions. |
10961 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
10962 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
10963 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
10964 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
10965 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
10966 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
10967 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
10968 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
10969 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
10970 mx-s-cm.cc, mx-s-dm.cc: | |
10971 New files for mixed-type operations. | |
10972 * Makefiles.in: Add them to the appropriate lists. | |
10973 | |
10974 * mx-inlines.cc: Add bool by bool EQ ops. | |
10975 | |
10976 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
10977 boolMatrix types. | |
10978 (idx_vector::maybe_convert_one_zero_to_idx, | |
10979 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
10980 Delete second arg, prefer_zero_one. Change all callers. | |
10981 | |
10982 * boolMatrix.h, boolMatrix.cc: New files. | |
10983 * mx-base.h: Include boolMatrix.h here. | |
10984 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
10985 | |
10986 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
10987 | |
10988 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
10989 operator-, operator*, product, and quotient functions. | |
10990 Add constructor for boolMatrix type. | |
10991 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
10992 product, and quotient functions. | |
10993 | |
10994 * CDiagMatrix.h: Delete friend declarations for operator+, | |
10995 operator-, and product functions. | |
10996 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
10997 | |
10998 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
10999 | |
2815 | 11000 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11001 | |
11002 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
11003 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
11004 (EIG::symmetric_init (const Matrix&)): New function. | |
11005 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
11006 | |
11007 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
11008 | |
11009 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11010 | |
11011 * Array2.cc (is_symmetric): New function. | |
11012 * Array2.h (is_square): New function. | |
11013 | |
2811 | 11014 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11015 | |
11016 * Makefile.in (install-strip): New target. | |
11017 | |
2804 | 11018 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11019 | |
11020 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
11021 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
11022 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
11023 dbleSVD.cc: Don't include mx-inlines.cc. | |
11024 | |
11025 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
11026 duplicate code. | |
11027 | |
2800 | 11028 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11029 | |
2804 | 11030 * dbleQR.h (QR): Delete extra comma at end of list. |
11031 | |
11032 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
11033 | |
11034 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
11035 | |
11036 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
11037 idx_vecotr_rep:: qualifiers. | |
11038 | |
11039 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
11040 | |
11041 * data-conv.h (save_type): Delete extra comma at end of list. | |
11042 | |
2800 | 11043 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
11044 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
11045 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
11046 old C-style `(T) val' casts. | |
11047 | |
2795 | 11048 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11049 | |
11050 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
11051 just breaking out of the innermost loop. | |
11052 * CMatrix.cc (operator >>): Likewise. | |
11053 | |
2779 | 11054 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 11055 |
11056 * Version 2.0.5 released. | |
11057 | |
2767 | 11058 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11059 | |
11060 * CmplxQR.cc (ComplexQR::init): New function. | |
11061 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
11062 * CmplxQRP.cc (ComplexQRP::init): New function. | |
11063 Get sizes right in all cases. | |
11064 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
11065 | |
11066 * dbleQR.cc (QR::init): New function. | |
11067 (QR::QR): Use it. Use initializer list too. | |
11068 * dbleQRP.cc (QRP::init): New function. | |
11069 Get sizes right in all cases. | |
11070 (QR::QRP): Use it. Use initializer list too. | |
11071 | |
2759 | 11072 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11073 | |
11074 * mach-info.cc (oct_mach_info::string_to_float_format): | |
11075 Recognize "vaxg", not "vax_g". | |
11076 | |
2713 | 11077 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11078 | |
2714 | 11079 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
11080 dimension in check for colon equivalent index. | |
11081 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
11082 index whose value is 0 is also colon eqivalent for n == 1. | |
11083 | |
2713 | 11084 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
11085 system-specific tests first. | |
11086 | |
2709 | 11087 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 11088 |
11089 * Version 2.0.4 released. | |
11090 | |
11091 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11092 | |
11093 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
11094 | |
2693 | 11095 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 11096 |
11097 * Version 2.0.3 released. | |
11098 | |
2686 | 11099 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11100 | |
11101 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
11102 | |
2673 | 11103 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11104 | |
2676 | 11105 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
11106 (all): Don't depend on stamp-prereq or stamp-picdir. | |
11107 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
11108 (stamp-picdir): Silence noise about making pic. | |
11109 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
11110 | |
2673 | 11111 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
9967 | 11112 Fix typo in last change. |
2673 | 11113 |
11114 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
11115 Convert from friend (moved from dColVector.cc). | |
11116 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
11117 Likewise (moved from dMatrix.cc). | |
11118 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
11119 Likewise (moved from dRowVector.cc). | |
11120 | |
11121 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
11122 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
11123 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
11124 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
11125 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
11126 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
11127 | |
11128 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
11129 * dMatrix.cc (Matrix::apply): Likewise. | |
11130 * dRowVector.cc (RowVector::apply): Likewise. | |
11131 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
11132 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
11133 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
11134 | |
2668 | 11135 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11136 | |
11137 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
11138 | |
11139 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11140 | |
11141 * file-ops.cc (oct_unlink (const string&, string&)): | |
11142 New two-arg version. | |
11143 (oct_rmdir (const string&, string&)): New two-arg version. | |
11144 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
11145 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
11146 (oct_rename (const string&, const string&, string&)): | |
11147 New three-arg version. | |
11148 | |
2663 | 11149 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11150 | |
11151 * idx-vector.h (idx_vector::orig_empty): New function. | |
11152 | |
11153 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
11154 Don't always resize to [](0x0) if one of the indices is empty or | |
11155 zero. | |
11156 | |
2658 | 11157 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11158 | |
11159 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
11160 Set line_in_file here too. | |
11161 (command_history::read_range): New arg, must_exist. | |
11162 | |
2651 | 11163 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11164 | |
11165 * f2c-main.c: Change C++-style comments to C-style comments. | |
11166 | |
2638 | 11167 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11168 | |
11169 * Makefile.in (install-inc): Create a relative symbolic link. | |
11170 | |
2634 | 11171 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11172 | |
11173 * Version 2.0.2 released. | |
11174 | |
2624 | 11175 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11176 | |
11177 * Makefile.in (bin-dist): New target. | |
11178 | |
2621 | 11179 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11180 | |
11181 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
11182 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
11183 | |
2613 | 11184 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11185 | |
11186 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
11187 If the number of columns is zero, also set the number of rows to zero. | |
11188 (charMatrix::charMatrix (const char *)): Likewise. | |
11189 | |
2602 | 11190 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11191 | |
11192 * Version 2.0.1 released. | |
11193 | |
2601 | 11194 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11195 | |
11196 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
11197 columns for resizing when the number of rows is specified but the | |
11198 number of columns is not. | |
11199 | |
2598 | 11200 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11201 | |
2599 | 11202 * Range.cc (operator -): New function. |
11203 | |
2598 | 11204 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
11205 | |
2589 | 11206 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11207 | |
11208 * Array2-idx.h (assign): Delay resizing left hand side until we | |
11209 know if the assignment conforms. | |
11210 | |
2583 | 11211 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11212 | |
11213 * Version 2.0 released. | |
11214 | |
2570 | 11215 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11216 | |
2575 | 11217 * Array2-idx.h (assign): If index is a colon, set number of |
11218 elements to the lhs dimension if the lhs dimension is greater than | |
11219 zero. Otherwise, set it to the rhs dimension. | |
11220 | |
11221 * Version 1.94. | |
11222 | |
2570 | 11223 * Array2-idx.h (assign): Test for rhs scalar case first. |
11224 If index is colon, set number of elements to lhs dimension, not | |
11225 rhs dimension. | |
11226 | |
2563 | 11227 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11228 | |
2566 | 11229 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
11230 * sun-utils.cc: Delete. | |
11231 * f2c-main.c: New file | |
11232 | |
11233 * Makefile.in: Fix file name lists. | |
11234 | |
2563 | 11235 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
11236 | |
2561 | 11237 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11238 | |
11239 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
11240 Create result using Complex constructor, not multiplication. | |
11241 Order elements as they are returned from Eispack. | |
11242 | |
2559 | 11243 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11244 | |
2560 | 11245 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
11246 Only include nan.h if SCO is defined. Define _IEEE before | |
11247 including it and undefine it afterward. | |
11248 [SCO] (isnan): Don't mistake Inf as NaN. | |
11249 | |
2559 | 11250 * Array-idx.h (assign): Only resize if assignment conforms. |
11251 | |
2551 | 11252 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11253 | |
11254 * Makefile.in (INCLUDES): Delete lo-error.h. | |
11255 * lo-error.h: Delete (moved to libcruft/misc). | |
11256 | |
11257 * Version 1.93. | |
11258 | |
2546 | 11259 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11260 | |
2549 | 11261 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
11262 be the same as they are in fnmatch.h. | |
11263 | |
2546 | 11264 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
11265 | |
11266 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
11267 (SOURCES): Delete f77-fcn.c. | |
11268 | |
2522 | 11269 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11270 | |
11271 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
11272 | |
2512 | 11273 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11274 | |
11275 * Version 1.92. | |
11276 | |
2508 | 11277 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11278 | |
2512 | 11279 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
11280 lines that have only carriage return or newline. | |
11281 | |
2508 | 11282 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
11283 | |
2500 | 11284 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11285 | |
11286 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
11287 (IDX_VEC_REP::idx_vector_rep): Use it. | |
11288 | |
2493 | 11289 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11290 | |
11291 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
11292 from vectors of C strings. | |
11293 | |
11294 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
11295 vector. | |
11296 (glob_match::match): Allow match string to be a string vector. | |
11297 (glob_match::glob): New function. | |
11298 | |
11299 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
11300 | |
11301 * Array-b.cc: New file. | |
11302 * Makefile.in (TI_SRC): Add it to the list. | |
11303 | |
2492 | 11304 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11305 | |
11306 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
11307 and safe-stat.h, to avoid getting them from $srcdir when we really | |
11308 want the version from the build directory. (Maybe this should be | |
11309 done for all the include files, not just those that are | |
11310 auto-generated? Hmm.) | |
11311 | |
2481 | 11312 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11313 | |
2482 | 11314 * Version 1.91. |
11315 | |
2481 | 11316 * Array3.cc (Array3<T>::resize): Make it work. |
11317 | |
11318 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11319 | |
11320 * oct-alloc.h, oct-alloc.cc: New files. | |
11321 * Makefile.in: Add them to the lists. | |
11322 | |
11323 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11324 | |
11325 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
11326 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
11327 | |
2466 | 11328 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11329 | |
11330 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
11331 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
11332 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
9967 | 11333 underlying macro is not defined. |
2466 | 11334 |
11335 * oct-math.h (lgamma, gamma): Delete declarations. | |
11336 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
11337 Protect declarations with #ifdef HAVE_*. | |
11338 | |
2440 | 11339 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11340 | |
2452 | 11341 * Version 1.90. |
11342 | |
11343 * Makefile.in (DISTFILES): Add ChangeLog. | |
11344 | |
2444 | 11345 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
11346 | |
11347 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
11348 | |
2443 | 11349 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 11350 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
11351 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 11352 |
2440 | 11353 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
11354 since that is now accepatble syntax, even for built-in types. | |
11355 * Array2.h (T Array2<T>::checkelem): Likewise | |
11356 | |
2433 | 11357 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11358 | |
11359 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
11360 message and return -1. | |
11361 | |
2428 | 11362 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11363 | |
2431 | 11364 * str-vec.h (str_vec_compare): Declare args as const void *, then |
11365 cast them to const string * in the body of the function. | |
11366 | |
11367 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
11368 string from buf. | |
11369 | |
2428 | 11370 * Array3.h (Array3::checkelem): Tag bogus return value with |
11371 GCC_ATTRIBUTE_UNUSED. | |
11372 * Array2.h (Array2::checkelem): Likewise. | |
9967 | 11373 |
2424 | 11374 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11375 | |
11376 * Quad.h (Quad): Define virtual destructor. | |
11377 | |
2408 | 11378 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11379 | |
11380 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
11381 | |
2401 | 11382 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11383 | |
11384 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
11385 and MAIN__ extern "C". | |
11386 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
11387 | |
2391 | 11388 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11389 | |
11390 * MArray-misc.cc: New file. | |
11391 * Makefile.in (MATRIX_SRC): Add it to the list. | |
11392 | |
11393 * mx-inlines.cc (equal): Return bool, not int. | |
11394 | |
11395 * idx-vector.h (idx_vector (double)): New constructor. | |
11396 | |
11397 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
11398 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
11399 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
11400 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
11401 CRowVector.cc: Logical operators return bool, not int. | |
11402 | |
11403 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
11404 New function. | |
11405 | |
11406 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
11407 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
11408 Matrix::all_elements_are_inf_or_nan): New functions. | |
11409 | |
11410 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
11411 | |
11412 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
11413 for errors. Simplify macros by converting FCN to string for error | |
11414 messages. | |
11415 | |
11416 * Array-idx.h (Array<T>::index): New function. Don't call | |
11417 clear_index() here. | |
11418 (Array<T>::value): Call it, do call clear_index() here. | |
11419 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
11420 one and two arg index functions. | |
11421 | |
11422 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11423 | |
11424 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
11425 separate implementation file. | |
11426 | |
2354 | 11427 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11428 | |
2358 | 11429 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
11430 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
11431 | |
2356 | 11432 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
11433 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
11434 them uniq. | |
11435 | |
2354 | 11436 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
11437 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
11438 Rewrite. Also return index as a reference arg. | |
11439 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
11440 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
11441 Delete. | |
11442 | |
11443 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
11444 Matrix::column_max, Matrix::column_min): | |
11445 Rewrite. Also return index as a reference arg. | |
11446 (Matrix::row_max_loc, Matrix::row_min_loc, | |
11447 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
11448 | |
11449 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11450 | |
11451 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
11452 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
11453 Matrix::column_min_loc, Matrix::column_max, | |
11454 Matrix::column_max_loc): Ignore leading NaNs. | |
11455 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
11456 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
11457 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
11458 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
11459 leading NaNs. | |
11460 | |
2352 | 11461 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11462 | |
11463 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
11464 starting at n, not 0. | |
11465 | |
2349 | 11466 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11467 | |
11468 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
11469 Matrix::Matrix (const ColumnVector&)): New constructors. | |
11470 | |
11471 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
11472 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
11473 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
11474 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
11475 New constructors. | |
11476 | |
11477 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
11478 New constructor. | |
11479 | |
2343 | 11480 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11481 | |
11482 * LSODE.cc (do_integrate): Check to make sure that the state and | |
11483 derivative vectors are the same size. | |
2344 | 11484 * DASSL.cc (do_integrate): Likewise. |
2343 | 11485 |
2330 | 11486 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11487 | |
11488 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
11489 iostreams and handler data format conversions. Delete old methods | |
11490 that used stdio. | |
11491 | |
11492 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
11493 | |
11494 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11495 | |
11496 * mach-info.h: Rename from float-fmt.h. | |
11497 * mach-info.cc: Rename from float-fmt.cc. | |
11498 Handle machine information using a singlton class. | |
11499 * Makefile.in: Update appropriate lists. | |
11500 | |
11501 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11502 | |
11503 * Array-flags.cc: Provide definitions for the flags even if | |
11504 OCTAVE_SOURCE is not defined. | |
11505 | |
11506 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
11507 operator(), not elem(). | |
11508 * Array3.h: Move indexing methods here from Array3.cc. | |
11509 | |
11510 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11511 | |
11512 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
11513 | |
11514 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
11515 INSTALL_DATA for shared libs. | |
11516 | |
11517 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11518 | |
11519 * Quad.cc: Include lo-error.h here too. | |
11520 | |
11521 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11522 | |
11523 * file-ops.h: Include sys/types.h here. | |
11524 | |
11525 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11526 | |
11527 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
11528 | |
11529 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
11530 elements in result. | |
11531 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
11532 rows and columns in result. | |
11533 | |
11534 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11535 | |
11536 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
11537 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
11538 | |
11539 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11540 | |
11541 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
11542 | |
11543 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11544 | |
11545 * Makefile.in (uninstall): Also delete shared library. | |
11546 Split install into install-libs and install-includes. | |
11547 (install-inc): If linkdir is a directory, leave it alone. | |
11548 | |
11549 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
11550 | |
11551 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11552 | |
11553 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
11554 * Array2-idx.h (assign): Likewise. | |
11555 | |
11556 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11557 | |
11558 * Array2.cc (Array2<T>::range_error): New functions. | |
11559 | |
11560 * Array.h (class Array<T>): elem() and operator() are now | |
11561 equivalent, and do bounds checking by default. | |
11562 * Array2.cc (class Array2<T>): Likewise. | |
11563 | |
11564 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11565 | |
11566 * Makefile.in (maintainer-clean, distclean): Also delete | |
11567 stamp-picdir, stamp-shared, and pic directory. | |
11568 (stamp-prereq): New target. | |
11569 | |
11570 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11571 | |
11572 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
11573 New function. | |
11574 | |
11575 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
11576 * Array.h (Array<T>::checkelem): Use them. | |
11577 | |
11578 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
11579 elements too. | |
11580 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
11581 | |
11582 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
11583 | |
11584 * Makefile.in (distclean): Delete so_locations, which is created | |
11585 on DEC Alpha systems. | |
11586 | |
11587 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11588 | |
11589 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
11590 already defined. | |
11591 | |
11592 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11593 | |
11594 * pathsearch.cc: Include config.h. | |
11595 | |
11596 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11597 | |
11598 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
11599 allow M(I, J) = scalar if I or J is empty. | |
11600 | |
11601 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
11602 and Array3-idx.h). | |
11603 | |
11604 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11605 | |
11606 * lo-error.h: Make comments C friendly. | |
11607 | |
11608 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11609 | |
11610 * Array2.h (make_unique): Move all indexing functions here. | |
11611 * Array2.cc: From here. | |
11612 | |
11613 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
11614 whether operator() calls elem or checkelem. | |
11615 | |
11616 * Array.h (make_unique): New private function. | |
11617 Move all indexing functions here. | |
11618 * Array.cc: From here. | |
11619 | |
11620 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
11621 it too. | |
11622 | |
11623 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
11624 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
11625 MArray-C.cc: Include config.h. | |
11626 | |
11627 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
11628 Don't define HEAVYWEIGHT_INDEXING here. | |
11629 | |
11630 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11631 | |
11632 * base-lu.h, base-lu.cc: New files. | |
11633 * Makefile.in: Add them to the appropriate lists. | |
11634 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
11635 | |
11636 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11637 | |
11638 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
11639 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
11640 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
11641 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
11642 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
9967 | 11643 |
2330 | 11644 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
11645 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
11646 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
11647 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
11648 Simplify using new macros. | |
11649 | |
11650 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11651 | |
11652 * Makefile.in (install): If $(includedir) ends in version string, | |
11653 make link to name that does not include version info. | |
11654 | |
11655 * lo-ieee.cc: Include <cmath> here. | |
11656 | |
11657 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11658 | |
11659 * lo-ieee.cc, lo-ieee.h: New files. | |
11660 * lo-mappers.cc, lo-mappers.h: New files. | |
11661 * lo-utils.cc, lo-utils.h: New files. | |
11662 * Makefile.in: Add them to the appropriate lists. | |
11663 | |
11664 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11665 | |
11666 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
11667 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
11668 | |
11669 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
11670 float-fmt.cc: New files. | |
11671 * Makefile.in: Include them in the appropriate lists. | |
11672 | |
11673 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11674 | |
11675 * dMatrix.cc (Qzval): New function. | |
11676 | |
11677 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11678 | |
11679 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
11680 char*. | |
11681 | |
11682 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
11683 Use F77_XFCN to call Fortran subroutine. | |
11684 * dColVector.cc, CColVector.cc: Likewise. | |
11685 * dRowVector.cc, CRowVector.cc: Likewise. | |
11686 * NPSOL.h, NPSOL.cc: Likewise. | |
11687 * CmplxCHOL.cc: Likewise. | |
11688 * dbleCHOL.cc: Likewise. | |
11689 * CMatrix.cc: Likewise. | |
11690 * dMatrix.cc: Likewise. | |
11691 * QPSOL.cc: Likewise. | |
11692 * LSODE.cc: Likewise. | |
11693 | |
11694 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11695 | |
11696 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
11697 | |
11698 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
11699 workspace. Use F77_XFCN to call Fortran subroutine. | |
11700 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
11701 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
11702 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
11703 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
11704 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
11705 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
11706 * dbleHESS.h, dbleHESS.cc: Likewise. | |
11707 * dbleSVD.h, dbleSVD.cc: Likewise. | |
11708 * EIG.h, EIG.cc; Likewise. | |
11709 * CollocWt.cc: Likewise. | |
11710 * NLEqn.cc: Likewise. | |
11711 * Quad.cc: Likewise. | |
11712 | |
11713 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11714 | |
11715 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
11716 Use F77_XFCN to call Fortran subroutine. | |
11717 * CmplxLU.h, CmplxLU.cc: Ditto. | |
11718 * dbleQR.h, dbleQR.cc: Ditto. | |
11719 * CmplxQR.h, CmplxQR.cc: Ditto. | |
11720 * dbleQRP.h, dbleQRP.cc: Ditto. | |
11721 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
11722 | |
11723 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
11724 (struct DIR): delete forward declaration. | |
11725 (dir_entry::operator = (const dir_entry$)): Protect against | |
11726 copying same object. | |
11727 * dir-ops.cc: Cast dir appropriately. | |
11728 | |
11729 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11730 | |
11731 * lo-error.cc: Moved to libcruft/misc. | |
11732 * Makefile.in: Delete it from the list. | |
11733 | |
11734 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
11735 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
11736 | |
11737 * Array-flags.h: New file. | |
11738 * Array-idx.h: Include it here. | |
11739 * Makefile.in (MATRIX_INC): Add it to the list. | |
11740 | |
11741 * Array-flags.cc: Renamed from Array-ext.cc. | |
11742 (liboctave_dfi_flag): Renamed from dfi_flag. | |
11743 (liboctave_pcv_flag): Renamed from pcv_flag. | |
11744 (liboctave_pzo_flag): Renamed from pzo_flag. | |
11745 (liboctave_rre_flag): Renamed from rre_flag. | |
11746 * Array-idx.h: Change all uses of dfi_flag, etc. | |
11747 * Makefile.in (MATRIX_SRC): Change file name here too. | |
11748 | |
11749 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
11750 (stamp-shared): Use them here. | |
11751 | |
11752 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11753 | |
11754 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
11755 argument value. | |
11756 | |
11757 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11758 | |
11759 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
11760 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
11761 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
11762 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
11763 Clean up constructors, assigment operator. | |
11764 | |
11765 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11766 | |
11767 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
11768 Check f77_exception_encountered on return. | |
11769 | |
11770 * f77-fcn.c (f77_exception_encountered): New variable. | |
11771 (F77_XFCN): Set it. | |
11772 * f77-fcn.h: Provide declaration. | |
11773 | |
11774 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
11775 | |
11776 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
11777 | |
11778 * NLEqn.h (NLEqn_options::set_options): New function. | |
11779 * Quad.h (Quad_options::set_options): Likewise. | |
11780 | |
11781 * LP.h (class LP): Add accessors for LP data. | |
11782 | |
11783 * NLEqn.h (NLEqn::n): Delete. | |
11784 | |
11785 * NLEqn.h (class NLEqn::n): Likewise. | |
11786 | |
11787 * NLP.h (class NLP): Add accessors for NLP data. | |
11788 | |
11789 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
11790 access functions here. | |
11791 * NPSOL.cc.cc: From here. | |
11792 | |
11793 * QLD.h (class QLD): Add destructor definition. | |
11794 * Objective.h (class Objective): Likewise. | |
11795 * ODEFunc.h (class ODEFunc): Likewise. | |
11796 * NLFunc.h (class NLFunc): Likewise. | |
11797 * NLEqn.h (class NLEqn): Likewise. | |
11798 * NLConst.h (class NLConst): Likewise. | |
11799 * LinConst.h (class LinConst): Likewise. | |
11800 * LSODE.h (class LSODE_options): Likewise. | |
11801 * CollocWt.h (class CollocWt): Likewise. | |
11802 * Bounds.h (class Bounds): Likewise. | |
11803 | |
11804 * QLD.cc (QLD::set_default_options): Delete. | |
11805 | |
11806 * QP.h (QP): Add accessors for QP data. | |
11807 Add copy constructor, operator =, and destructor definitions. | |
11808 | |
11809 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
11810 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
11811 DAEFunc.h, CollocWt.h, Bounds.h: | |
11812 Clean up constructors, assigment operator. | |
9967 | 11813 |
2330 | 11814 * dRowVector.cc (RowVector::transpose): Use magic of reference |
11815 counting to avoid duplicating the data immediately. | |
11816 * dColVector.cc (ColumnVector::transpose): Likewise. | |
11817 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
11818 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
11819 | |
11820 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11821 | |
11822 * prog-args.h (prog_args::option_argument): New enum. | |
11823 | |
11824 * f77-fcn.h: Rename from f77-uscore.h. | |
11825 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
11826 * f77-fcn.c: New file. | |
11827 * Makefile.in (SOURCES): Add it to the list. | |
11828 | |
11829 * ODEFunc.h: Clean up. | |
11830 | |
11831 * DASSL.cc, DASSL.h: New files. | |
11832 * Makefile.in: Add them to the appropriate lists. | |
11833 | |
11834 * LSODE.cc, LSODE.h: New files. | |
11835 * Makefile.in: Add them to the appropriate lists. | |
11836 | |
11837 * ODE.cc: Delete. | |
11838 * Makefile.in (SOURCES): Remove from list. | |
11839 | |
11840 * base-de.h, DAE.cc: New files. | |
11841 * Makefile.in: Add them to the appropriate lists. | |
11842 * ODE.h: Only define interface for ODE classes. | |
11843 * DAE.h: Only define interface for ODE classes. | |
11844 | |
11845 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
11846 (LPsolve::set_default_options)): Delete | |
11847 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
11848 destructor. | |
11849 | |
11850 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
11851 | |
11852 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
11853 (QPSOL::operator =): Call base class operator = instead of assuming | |
11854 we know what to copy. | |
11855 | |
11856 * base-min.h (size): New function. | |
11857 | |
11858 * NLP.h (NLP::size): Delete. | |
11859 (NLP::NLP (const NLP&)): New constructor. | |
11860 (NLP::operator =): Call base class operator = instead of assuming | |
11861 we know what to copy. | |
11862 | |
11863 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
11864 (class NPSOL): Add operator = and destructor. | |
11865 | |
11866 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
11867 | |
11868 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11869 | |
11870 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
11871 | |
11872 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11873 | |
11874 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
11875 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
11876 | |
11877 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11878 | |
11879 * prog-args.h, prog-args.cc: New files. | |
11880 * Makefile.in: Add them to lists. | |
11881 | |
11882 * getopt.h, getopt.c, getopt1.c: New files. | |
11883 * Makefile.in: Add them to the lists. | |
11884 | |
11885 * oct-term.h, oct-term.cc: New files. | |
11886 * Makefile.in: Add them to the lists. | |
11887 | |
11888 * str-vec.cc: New file. | |
11889 * Makefile.in (SOURCES): Add it to the list. | |
11890 | |
11891 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
11892 | |
11893 * tempname.c, tempnam.c: Move here from src directory. | |
11894 * Makefile.in: Add to lists. | |
11895 | |
11896 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11897 | |
11898 * cmd-hist.h, cmd-hist.cc: New files. | |
11899 * Makefile.in: Add them to lists. | |
11900 | |
11901 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11902 | |
11903 * oct-glob.h, oct-glob.cc: New files. | |
11904 * Makefile.in: Add them to lists. | |
11905 | |
11906 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11907 | |
11908 * pathsearch.h, pathsearch.cc: New files. | |
11909 * Makefile.in: Add them to lists. | |
11910 | |
11911 * dir-ops.h, dir-ops.cc: New files. | |
11912 * sysdir.h: Move here from src directory. | |
11913 * Makefile.in: Add them to lists. | |
11914 | |
11915 * Array.h (Array::qsort): Return *this, not void. | |
11916 * str-vec.h (string_vector::qsort): Likewise. | |
11917 | |
11918 * chMatrix.cc (row_as_string): Resize result to eliminate | |
11919 unnecessary NULs. | |
11920 | |
11921 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11922 | |
11923 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
11924 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
11925 Files moved here from src directory. | |
11926 * Makefile.in: Add them to lists. Include appropriate rules. | |
11927 | |
11928 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
11929 Use pointers, not references (this is C code!). | |
11930 | |
11931 * oct-math.h: New file. | |
11932 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
11933 Files moved here from src directory. | |
11934 * Makefile.in: Add them to lists. | |
11935 | |
11936 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11937 | |
11938 * idx-vector.cc (make_uniq): Fix major brain-o. | |
11939 | |
11940 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
11941 Convert to use string class instead of char*. | |
11942 | |
11943 * str-vec.h, Array-str.cc: New files. | |
11944 | |
11945 * Array.h (Array::qsort): New function. | |
11946 | |
11947 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11948 | |
11949 * Array.h: Nest ArrayRep class inside Array class. | |
11950 Refer to ArrayRep, not ArrayRep<T>. | |
11951 Move all ArrayRep functions inline. | |
11952 Don't declare other Array classes as friends of ArrayRep. | |
11953 * Array.cc: Delete ArrayRep functions. | |
11954 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
11955 | |
11956 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
11957 Don't instantiate ArrayRep objects. | |
11958 | |
11959 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11960 | |
11961 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
11962 New constructor. | |
11963 | |
11964 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11965 | |
11966 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
11967 for balance_job arg. | |
11968 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
11969 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
11970 | |
11971 * chMatrix.cc (row_as_string): Return string, not const char*. | |
11972 | |
11973 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11974 | |
11975 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
11976 | |
11977 * chMatrix.cc (row_as_string): Undo previous change. | |
11978 | |
11979 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11980 | |
11981 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
11982 is expected to save string if necessary. | |
11983 | |
11984 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11985 | |
11986 * Array.h (class DiagArray): Enable nested Proxy class for all | |
11987 platforms. | |
11988 | |
11989 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
11990 a.rep, don't mess with count. | |
11991 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
11992 don't do anything if reps are the same. | |
11993 (Array3<T>& operator = (const Array3<T>&) | |
11994 | |
11995 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
11996 Declare private with no definition to prevent misuse. | |
11997 | |
11998 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
11999 Get range check right. | |
12000 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
12001 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
12002 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
12003 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
12004 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
12005 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
12006 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
12007 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
12008 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
12009 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
12010 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
12011 * dColVector.cc | |
12012 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
12013 * CRowVector.cc | |
12014 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
12015 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
12016 * CColVector.cc | |
12017 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
12018 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
12019 | |
12020 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
12021 Also fill in zeros, not just the diagonal. | |
12022 | |
12023 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
12024 Use END parameter properly. | |
12025 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
12026 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
12027 | |
12028 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
12029 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
12030 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
12031 Don't copy count. Set it to 1. | |
12032 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
12033 | |
12034 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
12035 don't set rep->count to 1 here (now handled by ArrayRep | |
12036 constructors). | |
12037 (Array<T>::Array (void)): Ditto. | |
12038 (Array<T>::Array (int)): Ditto. | |
12039 (Array<T>::T& elem (int)): Ditto. | |
12040 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
12041 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
12042 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
12043 (Array<T>::resize (int)): Ditto. | |
12044 (Array<T>::resize (int, const T&)) :Ditto. | |
12045 (Array<T>::fortran_vec (void)): Ditto. | |
12046 (Array2<T>::resize (int, int)): Ditto. | |
12047 (Array2<T>::resize (int, int, const T&)): Ditto. | |
12048 (DiagArray<T>::resize (int, int)): Ditto. | |
12049 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
12050 | |
12051 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12052 | |
12053 * Array-ch.cc: Rename from Array-c.cc. | |
12054 * MArray-ch.cc: Rename from MArray-c.cc. | |
12055 * chMatrix.cc: Rename from cMatrix.cc. | |
12056 * chMatrix.h: Rename from cMatrix.h. | |
12057 * Makefile.in (TI_SRC): Use new names here. | |
12058 * mx-base.h: Likewise. | |
12059 | |
12060 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12061 | |
12062 * Makefile.in: Handle shared libraries. | |
12063 | |
12064 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12065 | |
12066 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
12067 Correctly compute length of return value. Correct rows and | |
12068 columns in zgemv call. | |
12069 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
12070 | |
12071 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12072 | |
12073 * Makefile.in (stamp-picdir): New target. | |
12074 (all): Depend on it. | |
12075 | |
12076 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12077 | |
12078 * Makefile.in (INCLUDES): Remove QLD.h. | |
12079 (SOURCES): Remove QLD.cc. | |
12080 | |
12081 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12082 | |
12083 * dMatrix.cc (Matrix::inverse): New arg, force. | |
12084 If force is nonzero, invert even if matrix is singular. | |
12085 (ComplexMatrix::inverse): Likewise. | |
12086 | |
12087 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
12088 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
12089 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
12090 Include "oct-cmplx.h" instead of <Complex.h>. | |
12091 | |
12092 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
12093 for class Complex. | |
12094 | |
12095 * oct-cmplx.h: New file. | |
12096 * Makefile.in (INCLUDES): Add it to the list. | |
12097 | |
12098 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
12099 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
12100 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
12101 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
12102 Avoid g++ bugs. | |
12103 | |
12104 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12105 | |
12106 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
12107 | |
12108 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
12109 | |
12110 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12111 | |
12112 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
12113 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
12114 | |
12115 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12116 | |
12117 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
12118 index vector object with Array, not ArrayRep. | |
12119 | |
12120 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12121 | |
12122 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
12123 if index is a colon and resizing is maybe needed. | |
12124 | |
12125 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12126 | |
12127 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
12128 if we have a vector of 1's. | |
12129 | |
12130 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
12131 current orientation, require index and rhs to conform unless | |
12132 do_fortran_indexing flag is set. | |
12133 | |
12134 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12135 | |
12136 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
12137 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
12138 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
12139 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
12140 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
12141 Massive changes to support additional data types. Only charMatrix | |
12142 is currently used in Octave. | |
12143 | |
12144 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12145 | |
12146 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
12147 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
12148 Simply call Array2<Complex> version. | |
12149 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
12150 call Array2<double> version. | |
12151 | |
12152 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
12153 | |
12154 * Array.h, Array.cc: Massive overhaul to support new way of | |
12155 handling indexing. | |
12156 * idx-vector.h, idx-vector.cc: Likewise. | |
12157 * Array-ext.cc, Array-idx.h: New files. | |
12158 * Makefile.in: Add them to the appropriate lists. | |
12159 | |
12160 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12161 | |
12162 * Range.cc (nelem_internal): Use tfloor here, not round. | |
12163 | |
12164 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12165 | |
12166 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
12167 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
12168 | |
12169 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12170 | |
12171 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
12172 | |
12173 * Array.h: Move simple member functions here. | |
12174 * Array.cc: From here. | |
12175 | |
12176 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12177 | |
12178 * Range.cc (tfloor, tceil, round): New static functions. | |
12179 (Range::nelem_internal): Rewrite to use better method. | |
12180 | |
12181 * dbleSVD.h (SVD::type): New item, sigma_only. | |
12182 (type_computed): New var. | |
12183 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
12184 Handle possible error condition. | |
12185 (init): Allow for SVD::sigma_only, save type computed. | |
12186 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
12187 Handle possible error condition. | |
12188 (init): Allow for SVD::sigma_only, save type computed. | |
12189 | |
12190 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12191 | |
12192 * Nearly all non-matrix .h and .cc files: | |
12193 Move short function bodies into class declarations for inlining. | |
12194 Generally clean up. | |
12195 | |
12196 * base-min.h: New file. | |
12197 * LP.h (class LP): Derive from base_minimizer. | |
12198 * QLP.h (class QLP): Derive from base_minimizer. | |
12199 * NLP.h (class NLP): Derive from base_minimizer. | |
12200 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
12201 | |
12202 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
12203 NLFunc.cc, Objective.cc and QP.cc from list. | |
12204 | |
12205 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12206 | |
12207 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
12208 (SCHUR::SCHUR): Delete unused parameter ord. | |
12209 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
12210 | |
12211 * CRowVector.cc | |
12212 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
12213 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
12214 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
12215 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
12216 Actually do something. | |
9967 | 12217 |
2330 | 12218 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
12219 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
12220 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
12221 | |
12222 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
12223 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
12224 tolerances. | |
9967 | 12225 |
2330 | 12226 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
12227 * LPsolve.cc (LPsolve::minimize): Likewise. | |
12228 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
12229 * ODE.cc (lsode_f, lsode_j): Likewise. | |
12230 * QPSOL.cc (qphess): Likewise. | |
12231 | |
12232 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12233 | |
12234 * dMatrix.cc: Include <cstring>. | |
12235 | |
12236 * Array.cc: Try harder to avoid warnings from gcc in functions | |
12237 that return bogus values after calling the error handler. | |
12238 | |
12239 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12240 | |
12241 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
12242 | |
12243 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
12244 | |
12245 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12246 | |
12247 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
12248 (dassl_j): Likewise. | |
9967 | 12249 |
2330 | 12250 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
12251 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
12252 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
12253 Update for change in for loop variable scope for gcc 2.7.0. | |
12254 | |
12255 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12256 | |
12257 * Makefile.in: Only include dependency files if $(omit_deps) is | |
12258 not set. | |
12259 | |
12260 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
12261 | |
12262 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
12263 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
12264 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
12265 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
12266 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
12267 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
12268 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
12269 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
12270 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
12271 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
12272 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
12273 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
12274 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
12275 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
12276 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
12277 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
12278 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
12279 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
12280 NLP.h: Use pragma interface/implementation. Don't surround | |
12281 contents in extern "C++". | |
12282 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
12283 | |
12284 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12285 | |
12286 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
12287 identifiers. | |
12288 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
12289 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
12290 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
12291 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
12292 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
12293 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
12294 Quad.cc: Change usage of F77_FCN to match new definition | |
12295 | |
12296 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
12297 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
12298 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
12299 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
12300 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
12301 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
12302 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
12303 args by reference instead of pointer. Change all callers. | |
12304 | |
12305 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12306 | |
12307 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
12308 functions. Make += and -= operators friend functions. | |
12309 | |
12310 * Array.h (Array2::~Array2, Array3::~Array3, | |
12311 DiagArray::~DiagArray): New functions. | |
12312 | |
12313 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12314 | |
12315 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
12316 (MATRIX_INC): Don't distribute mx-kludge.h. | |
12317 | |
12318 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
12319 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
12320 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
12321 dRowVector.h dRowVector.cc: | |
12322 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
12323 Array2, and DiagArray2. | |
12324 Don't use functions defined in mx-kludge.cc for arithmetic | |
12325 like-type operations on arrays. | |
12326 | |
12327 * MArray.cc: Use the classes defined here like-type mathematical | |
12328 operations on Array objects. Abuse CPP more. | |
12329 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
12330 (EXTRAS): Delete it from this list. | |
12331 | |
12332 * MArray-C.cc, MArray-d.cc: New files. | |
12333 * Makefile.in (TI_SRC): Add them to the list. | |
12334 | |
12335 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12336 | |
12337 * mx-kludge.cc: Abuse CPP even more. | |
12338 | |
12339 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12340 | |
12341 * Objective.h (objective_function): Add missing const. | |
12342 (gradient_function): Likewise. | |
12343 | |
12344 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
12345 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
12346 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
12347 dRowVector.h dRowVector.cc: | |
12348 Reorganize to declare and define friends where they should be, | |
12349 based on the use of private constructors. | |
12350 | |
12351 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12352 | |
12353 * CRowVector.h (linspace): Add declaration. | |
12354 * dRowVector.h (linspace): Likewise. | |
12355 | |
12356 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
12357 Force result of rcond + 1.0 to be stored. | |
12358 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
12359 ComplexMatrix::solve): Likewise. | |
12360 | |
12361 See ChangeLog.1 in the top level directory for earlier changes. |