Mercurial > hg > octave-lyh
annotate NEWS @ 10292:c1246f17119e
update NEWS
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 10 Feb 2010 07:33:20 +0100 |
parents | ad6af249c20e |
children | ee93dbfba45b |
rev | line source |
---|---|
9352 | 1 Summary of important user-visible changes for version 3.3: |
2 --------------------------------------------------------- | |
3 | |
9799
cfd0aa788ae1
remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents:
9745
diff
changeset
|
4 ** BLAS and LAPACK libraries are now required to build Octave. The |
cfd0aa788ae1
remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents:
9745
diff
changeset
|
5 subset of the reference BLAS and LAPACK libraries has been removed |
cfd0aa788ae1
remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents:
9745
diff
changeset
|
6 from the Octave sources. |
cfd0aa788ae1
remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents:
9745
diff
changeset
|
7 |
10118 | 8 ** The `lookup' function was extended to be more useful for |
9 general-purpose binary searching. Using this improvement, the | |
10 ismember function was rewritten for significantly better | |
11 performance. | |
9352 | 12 |
13 ** Real, integer and logical matrices, when used in indexing, will now | |
14 cache the internal index_vector value (zero-based indices) when | |
15 successfully used as indices, eliminating the conversion penalty for | |
10118 | 16 subsequent indexing by the same matrix. In particular, this means it |
17 is no longer needed to avoid repeated indexing by logical arrays | |
18 using find for performance reasons. | |
9888 | 19 |
10118 | 20 ** Logical matrices are now treated more efficiently when used as |
21 indices. Octave will keep the index as a logical mask unless the | |
22 ratio of true elements is small enough, using a specialized | |
23 code. Previously, all logical matrices were always first converted | |
24 to index vectors. This results in savings in both memory and | |
25 computing time. | |
9480 | 26 |
10118 | 27 ** The `sub2ind' and `ind2sub' functions were reimplemented as compiled |
28 functions for better performance. These functions are now faster, | |
29 can deliver more economized results for ranges, and can reuse the | |
30 index cache mechanism described in previous paragraph. | |
31 | |
32 ** The built-in function equivalents to associative operators (`plus', | |
33 `times', `mtimes', `and', and `or') have been extended to accept | |
34 multiple arguments. This is especially useful for summing | |
35 (multiplying, etc.) lists of objects (of possibly distinct types): | |
9408 | 36 |
9449 | 37 matrix_sum = plus (matrix_list{:}); |
38 | |
10118 | 39 ** An FTP object type based on libcurl has been implemented. These |
40 objects allow ftp connections, downloads and uploads to be | |
41 managed. For example, | |
9880 | 42 |
10118 | 43 fp = ftp ("ftp.octave.org); |
44 cd (fp, "gnu/octave"); | |
45 mget (fp, "octave-3.2.3.tar.bz2"); | |
46 close (fp); | |
9880 | 47 |
10118 | 48 ** The default behavior of `assert (observed, expected)' has been |
49 relaxed to employ less strict checking that does not require the | |
50 internals of the values to match. This avoids previously valid | |
51 tests from breaking due to new internal classes introduced in future | |
52 Octave versions. | |
9449 | 53 |
54 For instance, all of these assertions were true in Octave 3.0.x | |
55 but false in 3.2.x due to new optimizations and improvements: | |
56 | |
57 assert (2*linspace (1, 5, 5), 2*(1:5)) | |
58 assert (zeros (0, 0), []) | |
59 assert (2*ones (1, 5), (2) (ones (1,5))) | |
9462 | 60 |
10118 | 61 ** The behavior of library functions `ismatrix', `issquare', and |
62 `issymmetric' has been changed for better consistency. | |
9873 | 63 |
10292 | 64 * The `ismatrix' function now returns true for all numeric, |
65 logical and character 2d or Nd matrices. Previously, `ismatrix' | |
66 returned false if the first or second dimension was zero. | |
67 Hence, `ismatrix ([])' was false, | |
68 while `ismatrix (zeros (1,2,0))' was true. | |
9873 | 69 |
10118 | 70 * The `issquare' function now returns a logical scalar, and is |
71 equivalent to the expression | |
72 | |
73 ismatrix (x) && ndims (x) == 2 && rows (x) == columns (x) | |
74 | |
75 The dimension is no longer returned. As a result, `issquare ([])' | |
76 now yields true. | |
9873 | 77 |
10118 | 78 * The `issymmetric' function now checks for symmetry instead of |
79 hermitianness. For the latter, ishermitian was created. Also, | |
80 logical scalar is returned rather than the dimension, so | |
81 `issymmetric ([])' is now true. | |
9873 | 82 |
10118 | 83 ** Function handles are now aware of overloaded functions. If a |
84 function is overloaded, the handle determines at the time of its | |
85 reference which function to call. A non-overloaded version does not | |
86 need to exist. | |
9873 | 87 |
10118 | 88 ** Overloading functions for built-in classes (double, int8, cell, |
89 etc.) is now compatible with Matlab. | |
9408 | 90 |
10118 | 91 ** Performance of concatenation (using []) and the functions `cat', |
92 `horzcat', and `vertcat' has been improved for multidimensional | |
93 arrays. | |
10117 | 94 |
9547 | 95 ** The operation-assignment operators +=, -=, *= and /= now behave more |
10118 | 96 efficiently in certain cases. For instance, if M is a matrix and S a |
97 scalar, then the statement | |
9547 | 98 |
10118 | 99 M += S; |
9547 | 100 |
10118 | 101 will operate on M's data in-place if it is not shared by another |
102 variable, usually increasing both time and memory efficiency. | |
9547 | 103 |
9558 | 104 Only selected common combinations are affected, namely: |
9547 | 105 |
106 matrix += matrix | |
107 matrix -= matrix | |
9558 | 108 matrix .*= matrix |
109 matrix ./= matrix | |
110 | |
9547 | 111 matrix += scalar |
112 matrix -= scalar | |
113 matrix *= scalar | |
114 matrix /= scalar | |
9558 | 115 |
9552 | 116 logical matrix |= logical matrix |
117 logical matrix &= logical matrix | |
9547 | 118 |
10118 | 119 where matrix and scalar belong to the same class. The left-hand |
120 side must be a simple variable reference. | |
9888 | 121 |
10118 | 122 Moreover, when unary operators occur in expressions, Octave will |
123 also try to do the operation in-place if it's argument is a | |
124 temporary expresssion. | |
9589 | 125 |
10118 | 126 ** The effect of comparison operators (<, >, <=, and >=) applied to |
127 complex numbers has changed to be consistent with the strict | |
128 ordering defined by the `max', `min', and `sort' functions. More | |
129 specifically, complex numbers are compared by lexicographical | |
130 comparison of the pairs `[abs(z), arg(z)]'. Previously, only real | |
131 parts were compared; this can be trivially achieved by wrapping the | |
132 operands in real(). | |
9547 | 133 |
10118 | 134 ** The automatic simplification of complex computation results has |
135 changed. Octave will now simplify any complex number with a zero | |
136 imaginary part or any complex matrix with all elements having zero | |
137 imaginary part to a real value. Previously, this was done only for | |
138 positive zeros. Note that the behavior of the complex function is | |
139 unchanged and it still produces a complex value even if the | |
140 imaginary part is zero. | |
9826 | 141 |
10118 | 142 ** As a side effect of code refactoring in liboctave, the binary |
143 logical operations are now more easily amenable to compiler | |
144 optimizations and are thus significantly faster. | |
9595 | 145 |
10118 | 146 ** Octave now allows user-defined `subsasgn' methods to optimize out |
147 redundant copies. For more information, see the manual. | |
9595 | 148 |
10118 | 149 ** More efficient matrix division handling. Octave is now able to |
150 handle the expressions | |
9664 | 151 |
10118 | 152 M' \ V |
153 M.' \ V | |
154 V / M | |
9664 | 155 |
10118 | 156 (M is a matrix and V is a vector) more efficiently in certain cases. |
157 In particular, if M is triangular, all three expressions will be | |
158 handled by a single call to xTRTRS (from LAPACK), with appropriate | |
159 flags. Previously, all three expressions required a physical | |
160 transpose of M. | |
9664 | 161 |
10118 | 162 ** More efficient handling of certain mixed real-complex matrix |
163 operations. For instance, if RM is a real matrix and CM a complex | |
164 matrix, | |
9664 | 165 |
10118 | 166 RM * CM |
9664 | 167 |
168 can now be evaluated either as | |
169 | |
170 complex (RM * real (CM), RM * imag (CM)) | |
171 | |
172 or as | |
173 | |
174 complex (RM) * CM, | |
175 | |
10118 | 176 depending on the dimensions. The first form requires more temporaries |
177 and copying, but halves the FLOP count, which normally brings better | |
178 performance if RM has enough rows. Previously, the second form was | |
179 always used. | |
9664 | 180 |
181 Matrix division is similarly affected. | |
182 | |
10118 | 183 ** More efficient handling of triangular matrix factors returned from |
184 factorizations. The functions for computing QR, LU and Cholesky | |
185 factorizations will now automatically return the triangular matrix | |
186 factors with proper internal matrix_type set, so that it won't need | |
187 to be computed when the matrix is used for division. | |
9717 | 188 |
10118 | 189 ** The built-in `sum' function now handles the non-native summation |
190 (i.e., double precision sum of single or integer inputs) more | |
191 efficiently, avoiding a temporary conversion of the whole input | |
192 array to doubles. Further, `sum' can now accept an extra option | |
193 argument, using a compensated summation algorithm rather than a | |
194 straightforward sum, which significantly improves precision if lots | |
195 of cancellation occurs in the summation. | |
9717 | 196 |
10118 | 197 ** The built-in `bsxfun' function now uses optimized code for certain |
198 cases where built-in operator handles are passed in. Namely, the | |
199 optimizations concern the operators `plus', `minus', `times', | |
200 `ldivide', `rdivide', `power', `and', `or' (for logical arrays), | |
201 the relational operators `eq', `ne', `lt', `le', `gt', `ge', and the | |
202 functions `min' and `max'. Optimizations only apply when both | |
203 operands are of the same built-in class. Mixed real/complex and | |
204 single/double operations will first convert both operands to a | |
205 common type. | |
9745 | 206 |
10118 | 207 ** The `strfind' and `strrep' functions now have compiled |
208 implementations, facilitating significantly more efficient searching | |
209 and replacing in strings, especially with longer patterns. The code | |
210 of `strcat' has been vectorized and is now much more efficient when | |
211 many strings are concatenated. The `strcmpi' and `strncmpi' | |
212 functions are now built-in functions, providing better performance. | |
10208 | 213 |
214 ** Matlab-style ignoring input and output function arguments using tilde (~) | |
215 is now supported. For more details, consult the manual. | |
10233 | 216 |
217 ** The list datatype, deprecated since the introduction of cells, has been removed. | |
10276 | 218 |
219 ** The accumarray function has been optimized and is now significantly faster | |
220 in certain important cases. | |
10054 | 221 |
10292 | 222 ** The behavior of isreal and isnumeric functions was changed to be more |
223 Matlab-compatible. | |
224 | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
225 Summary of important user-visible changes for version 3.2: |
5913 | 226 --------------------------------------------------------- |
2452 | 227 |
8737 | 228 ** Compatibility with Matlab graphics has been improved. |
6329 | 229 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
230 The hggroup object and associated listener callback functions have |
8737 | 231 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
|
232 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
|
233 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
234 x = 0:0.1:10; |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
235 y = sin (x); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
236 plot (x, y, "ydatasource", "y"); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
237 for i = 1 : 100 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
238 pause(0.1) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
239 y = sin (x + 0.1 * i); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
240 refreshdata(); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
241 endfor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
242 |
8737 | 243 works as expected. This capability has be used to introduce |
9031
1052a66078cf
Documentation cleanup of top-level Octave directory (READMEs, INSTALL)
Rik <rdrider0-list@yahoo.com>
parents:
8932
diff
changeset
|
244 stem-series, bar-series, etc., objects for better Matlab |
8737 | 245 compatibility. |
246 | |
247 ** New graphics functions: | |
248 | |
9110
22ae6b3411a7
Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents:
9042
diff
changeset
|
249 addlistener ezcontour gcbo refresh |
22ae6b3411a7
Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents:
9042
diff
changeset
|
250 addproperty ezcontourf ginput refreshdata |
22ae6b3411a7
Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents:
9042
diff
changeset
|
251 allchild ezmesh gtext specular |
22ae6b3411a7
Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents:
9042
diff
changeset
|
252 available_backends ezmeshc intwarning surfl |
22ae6b3411a7
Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents:
9042
diff
changeset
|
253 backend ezplot ishghandle trisurf |
22ae6b3411a7
Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents:
9042
diff
changeset
|
254 cla ezplot3 isocolors waitforbuttonpress |
22ae6b3411a7
Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents:
9042
diff
changeset
|
255 clabel ezpolar isonormals |
22ae6b3411a7
Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents:
9042
diff
changeset
|
256 comet ezsurf isosurface |
22ae6b3411a7
Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents:
9042
diff
changeset
|
257 dellistener findall linkprop |
22ae6b3411a7
Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents:
9042
diff
changeset
|
258 diffuse gcbf plotmatrix |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
259 |
8737 | 260 ** New experimental OpenGL/FLTK based plotting system. |
261 | |
262 An experimental plotting system based on OpenGL and the FLTK | |
263 toolkit is now part of Octave. This backend is disabled by | |
264 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
|
265 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
266 backend ("fltk") |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
267 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
268 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
|
269 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
270 backend (h, "fltk") |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
271 |
8737 | 272 where "h" is a valid figure handle. Please note that this backend |
273 does not yet support text objects. Obviously, this is a necessary | |
274 feature before it can be considered usable. We are looking for | |
275 volunteers to help implement this missing feature. | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
276 |
8737 | 277 ** Functions providing direct access to gnuplot have been removed. |
278 | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
279 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
|
280 __gnuplot_show__, __gnuplot_replot__, __gnuplot_splot__, |
8737 | 281 __gnuplot_save_data__ and __gnuplot_send_inline_data__ have been |
282 removed from Octave. These function were incompatible with the | |
283 high level graphics handle code. | |
6329 | 284 |
8885 | 285 ** The Control, Finance and Quaternion functions have been removed. |
286 | |
287 These functions are now available as separate packages from | |
288 | |
289 http://octave.sourceforge.net/packages.html | |
290 | |
291 and can be reinstalled using the Octave package manager (see | |
292 the pkg function). | |
293 | |
294 ** Specific sparse matrix functions removed. | |
295 | |
296 The following functions, which handled only sparse matrices have | |
297 been removed. Instead of calling these functions directly, you | |
298 should use the corresponding function without the "sp" prefix. | |
8737 | 299 |
8885 | 300 spatan2 spcumsum spkron spprod |
301 spchol spdet splchol spqr | |
302 spchol2inv spdiag splu spsum | |
303 spcholinv spfind spmax spsumsqk | |
304 spcumprod spinv spmin | |
305 | |
306 ** Improvements to the debugger. | |
307 | |
308 The interactive debugging features have been improved. Stopping | |
309 on statements with dbstop should work correctly now. Stepping | |
310 into and over functions, and stepping one statement at a time | |
311 (with dbstep) now works. Moving up and down the call stack with | |
312 dbup and dbdown now works. The dbstack function is now available | |
313 to print the current function call stack. The new dbquit function | |
314 is available to exit the debugging mode. | |
315 | |
316 ** Improved traceback error messages. | |
317 | |
318 Traceback error messages are much more concise and easier to | |
319 understand. They now display information about the function call | |
320 stack instead of the stack of all statements that were active at | |
321 the point of the error. | |
8014
44d206ae68c9
improve fsolve compatibility
John W. Eaton <jwe@octave.org>
parents:
7990
diff
changeset
|
322 |
8737 | 323 ** Object Oriented Programming. |
8405
d79dfbff2f9d
document new norm features in NEWS
Jaroslav Hajek <highegg@gmail.com>
parents:
8396
diff
changeset
|
324 |
8737 | 325 Octave now includes OOP features and the user can create their own |
326 class objects and overloaded functions and operators. For | |
327 example, all methods of a class called "myclass" will be found in | |
328 a directory "@myclass" on the users path. The class specific | |
329 versions of functions and operators take precedence over the | |
330 generic versions of these functions. | |
331 | |
332 New functions related to OOP include | |
7189 | 333 |
8737 | 334 class inferiorto isobject loadobj methods superiorto |
335 | |
336 See the Octave manual for more details. | |
7038 | 337 |
8747 | 338 ** Parsing of Command-style Functions. |
339 | |
340 Octave now parses command-style functions without needing to first | |
341 declare them with "mark_as_command". The rules for recognizing a | |
342 command-style function calls are | |
343 | |
344 * A command must appear as the first word in a statement, | |
345 followed by a space. | |
346 | |
347 * The first character after the space must not be '=' or '(' | |
348 | |
349 * The next token after the space must not look like a binary | |
350 operator. | |
351 | |
352 These rules should be mostly compatible with the way Matlab parses | |
353 command-style function calls and allow users to define commands in | |
354 .m files without having to mark them as commands. | |
355 | |
356 Note that previous versions of Octave allowed expressions like | |
357 | |
358 x = load -text foo.dat | |
359 | |
360 but an expression like this will now generate a parse error. In | |
361 order to assign the value returned by a function to a variable, | |
362 you must use the normal function call syntax: | |
363 | |
364 x = load ("-text", "foo.dat"); | |
365 | |
8737 | 366 ** Block comments. |
367 | |
8747 | 368 Commented code can be between matching "#{" and "#}" or "%{" and |
369 "%}" markers, even if the commented code spans several line. This | |
370 allows blocks code to be commented, without needing to comment | |
371 each line. For example, | |
5814 | 372 |
8747 | 373 function [s, t] = func (x, y) |
374 s = 2 * x; | |
375 #{ | |
376 s *= y; | |
377 t = y + x; | |
378 #} | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
379 endfunction |
5814 | 380 |
8747 | 381 the lines "s *= y;" and "t = y + x" will not be executed. |
8737 | 382 |
383 ** Special treatment in the parser of expressions like "a' * b". | |
2452 | 384 |
8737 | 385 In these cases the transpose is no longer explicitly formed and |
386 BLAS libraries are called with the transpose flagged, | |
387 significantly improving performance for these kinds of | |
388 operations. | |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8405
diff
changeset
|
389 |
8737 | 390 ** Single Precision data type. |
2452 | 391 |
8737 | 392 Octave now includes a single precision data type. Single |
393 precision variables can be created with the "single" command, or | |
9034
52515efc50c0
Documentation cleanup on NEWS file
Rik <rdrider0-list@yahoo.com>
parents:
9031
diff
changeset
|
394 from functions like ones, eye, etc. For example, |
5995 | 395 |
8737 | 396 single (1) |
397 ones (2, 2, "single") | |
398 zeros (2, 2, "single") | |
399 eye (2, 2, "single") | |
400 Inf (2, 2, "single") | |
401 NaN (2, 2, "single") | |
402 NA (2, 2, "single") | |
7279 | 403 |
8737 | 404 all create single precision variables. For compatibility with |
405 Matlab, mixed double/single precision operators and functions | |
406 return single precision types. | |
407 | |
408 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
|
409 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
|
410 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
|
411 visa-versa are warned that compatibility might not be assured. |
7279 | 412 |
8737 | 413 ** Improved array indexing. |
414 | |
415 The underlying code used for indexing of arrays has been | |
9034
52515efc50c0
Documentation cleanup on NEWS file
Rik <rdrider0-list@yahoo.com>
parents:
9031
diff
changeset
|
416 completely rewritten and indexing is now significantly faster. |
8737 | 417 |
8755 | 418 ** Improved memory management. |
419 | |
420 Octave will now attempt to share data in some cases where previously | |
421 a copy would be made, such as certain array slicing operations or | |
9031
1052a66078cf
Documentation cleanup of top-level Octave directory (READMEs, INSTALL)
Rik <rdrider0-list@yahoo.com>
parents:
8932
diff
changeset
|
422 conversions between cells, structs and cs-lists. This usually reduces |
8755 | 423 both time and memory consumption. |
9128 | 424 Also, Octave will now attempt to detect and optimize usage of a vector |
425 as a stack, when elements are being repeatedly inserted at/removed from | |
426 the end of the vector. | |
8755 | 427 |
8738 | 428 ** Improved performance for reduction operations. |
429 | |
8755 | 430 The performance of the sum, prod, sumsq, cumsum, cumprod, any, all, |
431 max and min functions has been significantly improved. | |
8738 | 432 |
9006 | 433 ** Sorting and searching. |
434 | |
435 The performance of sort has been improved, especially when sorting | |
436 indices are requested. An efficient built-in issorted implementation | |
437 was added. sortrows now uses a more efficient algorithm, especially | |
438 in the homegeneous case. lookup is now a built-in function performing | |
439 a binary search, optimized for long runs of close elements. Lookup | |
440 also works with cell arrays of strings. | |
441 | |
442 ** Range arithmetics | |
443 | |
444 For some operations on ranges, Octave will attempt to keep the result as a | |
445 range. These include negation, adding a scalar, subtracting a scalar, and | |
446 multiplying by a scalar. Ranges with zero increment are allowed and can be | |
447 constructed using the built-in function `ones'. | |
448 | |
449 ** Various performance improvements. | |
450 | |
451 Performance of a number of other built-in operations and functions was | |
452 improved, including: | |
453 | |
454 * logical operations | |
455 * comparison operators | |
456 * element-wise power | |
457 * accumarray | |
458 * cellfun | |
459 * isnan | |
460 * isinf | |
461 * isfinite | |
462 * nchoosek | |
463 * repmat | |
464 * strcmp | |
465 | |
8737 | 466 ** 64-bit integer arithmetic. |
467 | |
468 Arithmetic with 64-bit integers (int64 and uint64 types) is fully | |
469 supported, with saturation semantics like the other integer types. | |
470 Performance of most integer arithmetic operations has been | |
471 improved by using integer arithmetic directly. Previously, Octave | |
472 performed integer math with saturation semantics by converting the | |
473 operands to double precision, performing the operation, and then | |
474 converting the result back to an integer value, truncating if | |
475 necessary. | |
476 | |
8885 | 477 ** Diagonal and permutation matrices. |
478 | |
479 The interpreter can now treat diagonal and permutation matrices as | |
480 special objects that store only the non-zero elements, rather than | |
481 general full matrices. Therefore, it is now possible to construct | |
482 and use these matrices in linear algebra without suffering a | |
483 performance penalty due to storing large numbers of zero elements. | |
484 | |
485 ** Improvements to fsolve. | |
486 | |
487 The fsolve function now accepts an option structure argument (see | |
488 also the optimset function). The INFO values returned from fsolve | |
489 have changed to be compatible with Matlab's fsolve function. | |
490 Additionally, fsolve is now able to solve overdetermined systems, | |
491 complex-differentiable complex systems, systems with a sparse | |
492 jacobian and can work in single precision if given single precision | |
9031
1052a66078cf
Documentation cleanup of top-level Octave directory (READMEs, INSTALL)
Rik <rdrider0-list@yahoo.com>
parents:
8932
diff
changeset
|
493 inputs. It can also be called recursively. |
8885 | 494 |
8737 | 495 ** Improvements to the norm function. |
496 | |
497 The norm function is now able to compute row or column norms of a | |
498 matrix in a single call, as well as general matrix p-norms. | |
499 | |
500 ** New functions for computing some eigenvalues or singular values. | |
501 | |
502 The eigs and svds functions have been included in Octave. These | |
503 functions require the ARPACK library (now distributed under a | |
504 GPL-compatible license). | |
505 | |
506 ** 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
|
507 |
8737 | 508 choldelete cholshift qrdelete qrshift |
509 cholinsert cholupdate qrinsert qrupdate | |
510 | |
511 ** New quadrature functions. | |
512 | |
513 dblquad quadgk quadv triplequad | |
514 | |
8885 | 515 ** New functions for reading and writing images. |
516 | |
517 The imwrite and imread functions have been included in Octave. | |
518 These functions require the GraphicsMagick library. The new | |
519 function imfinfo provides information about an image file (size, | |
520 type, colors, etc.) | |
521 | |
9215
1500d0197484
allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents:
9128
diff
changeset
|
522 ** The input_event_hook function has been replaced by the pair of |
1500d0197484
allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents:
9128
diff
changeset
|
523 functions add_input_event_hook and remove_input_event_hook so that |
1500d0197484
allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents:
9128
diff
changeset
|
524 more than one hook function may be installed at a time. |
1500d0197484
allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents:
9128
diff
changeset
|
525 |
8737 | 526 ** Other miscellaneous new functions. |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
527 |
8932
2d0f8692a82e
Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents:
8888
diff
changeset
|
528 addtodate hypot reallog |
2d0f8692a82e
Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents:
8888
diff
changeset
|
529 bicgstab idivide realpow |
9006 | 530 cellslices info realsqrt |
531 cgs interp1q rectint | |
532 command_line_path isdebugmode regexptranslate | |
533 contrast isfloat restoredefaultpath | |
534 convn isstrprop roundb | |
535 cummin log1p rundemos | |
536 cummax lsqnonneg runlength | |
537 datetick matlabroot saveobj | |
538 display namelengthmax spaugment | |
539 expm1 nargoutchk strchr | |
540 filemarker pathdef strvcat | |
541 fstat perl subspace | |
542 full prctile symvar | |
543 fzero quantile treelayout | |
544 genvarname re_read_readline_init_file validatestring | |
545 histc | |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
546 |
8885 | 547 ** Changes to strcat. |
548 | |
549 The strcat function is now compatible with Matlab's strcat | |
550 function, which removes trailing whitespace when concatenating | |
551 character strings. For example | |
552 | |
553 strcat ('foo ', 'bar') | |
554 ==> 'foobar' | |
555 | |
556 The new function cstrcat provides the previous behavior of | |
557 Octave's strcat. | |
558 | |
559 ** Improvements to the help functions. | |
560 | |
9034
52515efc50c0
Documentation cleanup on NEWS file
Rik <rdrider0-list@yahoo.com>
parents:
9031
diff
changeset
|
561 The help system has been mostly re-implemented in .m files to make |
8885 | 562 it easier to modify. Performance of the lookfor function has been |
563 greatly improved by caching the help text from all functions that | |
564 are distributed with Octave. The pkg function has been modified | |
565 to generate cache files for external packages when they are | |
566 installed. | |
567 | |
8888
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
568 ** Deprecated functions. |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
569 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
570 The following functions were deprecated in Octave 3.0 and will be |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
571 removed in Octave 3.4 (or whatever version is the second major |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
572 release after 3.0): |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
573 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
574 beta_cdf geometric_pdf pascal_pdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
575 beta_inv geometric_rnd pascal_rnd |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
576 beta_pdf hypergeometric_cdf poisson_cdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
577 beta_rnd hypergeometric_inv poisson_inv |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
578 binomial_cdf hypergeometric_pdf poisson_pdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
579 binomial_inv hypergeometric_rnd poisson_rnd |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
580 binomial_pdf intersection polyinteg |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
581 binomial_rnd is_bool setstr |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
582 chisquare_cdf is_complex struct_contains |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
583 chisquare_inv is_list struct_elements |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
584 chisquare_pdf is_matrix t_cdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
585 chisquare_rnd is_scalar t_inv |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
586 clearplot is_square t_pdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
587 clg is_stream t_rnd |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
588 com2str is_struct uniform_cdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
589 exponential_cdf is_symmetric uniform_inv |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
590 exponential_inv is_vector uniform_pdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
591 exponential_pdf isstr uniform_rnd |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
592 exponential_rnd lognormal_cdf weibcdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
593 f_cdf lognormal_inv weibinv |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
594 f_inv lognormal_pdf weibpdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
595 f_pdf lognormal_rnd weibrnd |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
596 f_rnd meshdom weibull_cdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
597 gamma_cdf normal_cdf weibull_inv |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
598 gamma_inv normal_inv weibull_pdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
599 gamma_pdf normal_pdf weibull_rnd |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
600 gamma_rnd normal_rnd wiener_rnd |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
601 geometric_cdf pascal_cdf |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
602 geometric_inv pascal_inv |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
603 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
604 The following functions are now deprecated in Octave 3.2 and will |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
605 be removed in Octave 3.6 (or whatever version is the second major |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
606 release after 3.2): |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
607 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
608 create_set spcholinv spmax |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
609 dmult spcumprod spmin |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
610 iscommand spcumsum spprod |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
611 israwcommand spdet spqr |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
612 lchol spdiag spsum |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
613 loadimage spfind spsumsq |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
614 mark_as_command spinv str2mat |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
615 mark_as_rawcommand spkron unmark_command |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
616 spatan2 splchol unmark_rawcommand |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
617 spchol split |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
618 spchol2inv splu |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
619 |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
620 See NEWS.3 for old news. |