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