Mercurial > hg > octave-nkf
annotate NEWS @ 8738:c32e710407ee
NEWS: another update
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 13 Feb 2009 15:36:43 -0500 |
parents | ae51dc447bab |
children | 86cfcf133a19 |
rev | line source |
---|---|
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
1 Summary of important user-visible changes for version 3.2: |
5913 | 2 --------------------------------------------------------- |
2452 | 3 |
8737 | 4 ** Compatibility with Matlab graphics has been improved. |
6329 | 5 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
6 The hggroup object and associated listener callback functions have |
8737 | 7 been added allowing the inclusion of group objects. Data sources |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
8 have been added to these group objects such that |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
9 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
10 x = 0:0.1:10; |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
11 y = sin (x); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
12 plot (x, y, "ydatasource", "y"); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
13 for i = 1 : 100 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
14 pause(0.1) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
15 y = sin (x + 0.1 * i); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
16 refreshdata(); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
17 endfor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
18 |
8737 | 19 works as expected. This capability has be used to introduce |
20 stem-series, bar-series, etc. objects for better Matlab | |
21 compatibility. | |
22 | |
23 ** New graphics functions: | |
24 | |
25 addlistener dellistener ezsurf ishghandle | |
26 addproperty ezcontour ezsurfc linkprop | |
27 allchild ezcontourf findall plotmatrix | |
28 available_backends ezmesh gcbf refresh | |
29 backend ezmeshc gcbo refreshdata | |
30 cla ezplot ginput surfl | |
31 clabel ezplot3 gtext waitforbuttonpress | |
32 comet ezpolar intwarning | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
33 |
8737 | 34 ** Improvements to the debugger. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
35 |
8737 | 36 The interactive debugging features have been improved. Stopping |
37 on statements with dbstop should work correctly now. Stepping | |
38 into and over functions, and stepping one statement at a time | |
39 (with dbstep) now works. Moving up and down the call stack with | |
40 dbup and dbdown now works. The dbstack function is now available | |
41 to print the current function call stack. The new dbquit function | |
42 is available to exit the debugging mode. | |
43 | |
44 ** New experimental OpenGL/FLTK based plotting system. | |
45 | |
46 An experimental plotting system based on OpenGL and the FLTK | |
47 toolkit is now part of Octave. This backend is disabled by | |
48 default. You can switch to using it with the command | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
49 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
50 backend ("fltk") |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
51 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
52 for all future figures or for a particular figure with the command |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
53 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
54 backend (h, "fltk") |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
55 |
8737 | 56 where "h" is a valid figure handle. Please note that this backend |
57 does not yet support text objects. Obviously, this is a necessary | |
58 feature before it can be considered usable. We are looking for | |
59 volunteers to help implement this missing feature. | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
60 |
8737 | 61 ** Functions providing direct access to gnuplot have been removed. |
62 | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
63 The functions __gnuplot_plot__, __gnuplot_set__, __gnuplot_raw__, |
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
64 __gnuplot_show__, __gnuplot_replot__, __gnuplot_splot__, |
8737 | 65 __gnuplot_save_data__ and __gnuplot_send_inline_data__ have been |
66 removed from Octave. These function were incompatible with the | |
67 high level graphics handle code. | |
6329 | 68 |
8737 | 69 ** Improvements to fsolve. |
70 | |
71 The fsolve function now accepts an option structure argument (see | |
72 also the optimset function). The INFO values returned from fsolve | |
73 have changed to be compatible with Matlab's fsolve function. | |
8396 | 74 Additionally, fsolve is now able to solve overdetermined systems. |
8014
44d206ae68c9
improve fsolve compatibility
John W. Eaton <jwe@octave.org>
parents:
7990
diff
changeset
|
75 |
8737 | 76 ** Object Oriented Programming. |
8405
d79dfbff2f9d
document new norm features in NEWS
Jaroslav Hajek <highegg@gmail.com>
parents:
8396
diff
changeset
|
77 |
8737 | 78 Octave now includes OOP features and the user can create their own |
79 class objects and overloaded functions and operators. For | |
80 example, all methods of a class called "myclass" will be found in | |
81 a directory "@myclass" on the users path. The class specific | |
82 versions of functions and operators take precedence over the | |
83 generic versions of these functions. | |
84 | |
85 New functions related to OOP include | |
7189 | 86 |
8737 | 87 class inferiorto isobject loadobj methods superiorto |
88 | |
89 See the Octave manual for more details. | |
7038 | 90 |
8737 | 91 ** Block comments. |
92 | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
93 Commented code can be between matching "%{" and "%}" markers, even |
8737 | 94 if the commented code spans several line. This allows blocks code |
95 to be commented, without needing to comment each line. For | |
96 example, | |
5814 | 97 |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
98 function y = func (x) |
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
99 y = 2 * x; |
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
100 %{ |
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
101 y += 1; |
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
102 %} |
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
103 endfunction |
5814 | 104 |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
105 the line "y += 1;" will not be executed. |
8737 | 106 |
107 ** The Control, Finance and Quaternion functions have been removed. | |
108 | |
109 These functions are now available as separate packages from | |
110 | |
111 http://octave.sourceforge.net/packages.html | |
2452 | 112 |
8737 | 113 and can be reinstalled using the Octave package manager (see |
114 the pkg function). | |
115 | |
116 ** Special treatment in the parser of expressions like "a' * b". | |
2452 | 117 |
8737 | 118 In these cases the transpose is no longer explicitly formed and |
119 BLAS libraries are called with the transpose flagged, | |
120 significantly improving performance for these kinds of | |
121 operations. | |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8405
diff
changeset
|
122 |
8737 | 123 ** Single Precision data type. |
2452 | 124 |
8737 | 125 Octave now includes a single precision data type. Single |
126 precision variables can be created with the "single" command, or | |
127 from function like ones, etc. For example | |
5995 | 128 |
8737 | 129 single (1) |
130 ones (2, 2, "single") | |
131 zeros (2, 2, "single") | |
132 eye (2, 2, "single") | |
133 Inf (2, 2, "single") | |
134 NaN (2, 2, "single") | |
135 NA (2, 2, "single") | |
7279 | 136 |
8737 | 137 all create single precision variables. For compatibility with |
138 Matlab, mixed double/single precision operators and functions | |
139 return single precision types. | |
140 | |
141 As a consequence of this addition to Octave the internal | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
142 representation of the double precision NA value has changed, and |
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
143 so users that make use of data generated by Octave with R or |
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
144 visa-versa are warned that compatibility might not be assured. |
7279 | 145 |
8737 | 146 ** Improved array indexing. |
147 | |
148 The underlying code used for indexing of arrays has been | |
149 completely rewritten and so the indexing of arrays is now | |
150 significantly faster. | |
151 | |
8738 | 152 ** Improved performance for reduction operations. |
153 | |
154 The performance of the sum, prod, sumsq, cumsum, and cumprod | |
155 functions has been significantly improved. | |
156 | |
8737 | 157 ** Diagonal and permutation matrices. |
158 | |
159 The interpreter can now treat diagonal and permutation matrices as | |
160 special objects that store only the non-zero elements, rather than | |
161 general full matrices. Therefore, it is now possible to construct | |
162 and use these matrices in linear algebra without suffering a | |
163 performance penalty due to storing large numbers of zero elements. | |
164 | |
165 ** 64-bit integer arithmetic. | |
166 | |
167 Arithmetic with 64-bit integers (int64 and uint64 types) is fully | |
168 supported, with saturation semantics like the other integer types. | |
169 Performance of most integer arithmetic operations has been | |
170 improved by using integer arithmetic directly. Previously, Octave | |
171 performed integer math with saturation semantics by converting the | |
172 operands to double precision, performing the operation, and then | |
173 converting the result back to an integer value, truncating if | |
174 necessary. | |
175 | |
176 ** Improvements to the norm function. | |
177 | |
178 The norm function is now able to compute row or column norms of a | |
179 matrix in a single call, as well as general matrix p-norms. | |
180 | |
181 ** New functions for reading and writing images. | |
182 | |
183 The imwrite and imread function have been included in Octave. | |
184 These functions require the GraphicsMagick library. The new | |
185 function imfinfo provides information about an image file (size, | |
186 type, colors, etc.) | |
187 | |
188 ** New functions for computing some eigenvalues or singular values. | |
189 | |
190 The eigs and svds functions have been included in Octave. These | |
191 functions require the ARPACK library (now distributed under a | |
192 GPL-compatible license). | |
193 | |
194 ** Changes to strcat. | |
8292 | 195 |
8737 | 196 The strcat function is now compatible with Matlab's strcat |
197 function, which removes trailing whitespace when concatenating | |
198 character strings. For example | |
199 | |
200 strcat ('foo ', 'bar') | |
201 ==> 'foobar' | |
202 | |
203 The new function cstrcat provides the previous behavior of | |
204 Octave's strcat. | |
205 | |
206 ** Specific sparse matrix functions removed. | |
207 | |
208 The following functions, which handled only sparse matrices have | |
209 been removed. Instead of calling these functions directly, you | |
210 should use the corresponding function without the "sp" prefix. | |
211 | |
212 spatan2 spcumsum spkron spprod | |
213 spchol spdet splchol spqr | |
214 spchol2inv spdiag splu spsum | |
215 spcholinv spfind spmax spsumsqk | |
216 spcumprod spinv spmin | |
217 | |
218 ** New QR and Cholesky factorization updating functions. | |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
219 |
8737 | 220 choldelete cholshift qrdelete qrshift |
221 cholinsert cholupdate qrinsert qrupdate | |
222 | |
223 ** New quadrature functions. | |
224 | |
225 dblquad quadgk quadv triplequad | |
226 | |
227 ** Other miscellaneous new functions. | |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
228 |
8737 | 229 addtodate interp1q rectint |
230 bicgstab isdebugmode regexptranslate | |
231 cgs isfloat restoredefaultpath | |
232 command_line_path isstrprop roundb | |
233 contrast log1p rundemos | |
234 convn lsqnonneg runlength | |
235 datetick matlabroot saveobj | |
236 display namelengthmax spaugment | |
237 expm1 nargoutchk strchr | |
238 filemarker pathdef strvcat | |
239 fstat perl subspace | |
240 full prctile symvar | |
241 fzero quantile treelayout | |
242 genvarname re_read_readline_init_file validatestring | |
243 hypot reallog which | |
244 idivide realpow | |
245 info realsqrt | |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
246 |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
247 See NEWS.3 for old news. |