Mercurial > octave-libgccjit
annotate NEWS @ 12413:b7d0d6044bd7
remove functions deprecated in 3.2
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 08 Feb 2011 15:53:13 -0500 |
parents | 5252f12537f8 |
children | b914e8125f1b |
rev | line source |
---|---|
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
1 Summary of important user-visible changes for version 3.6: |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
2 --------------------------------------------------------- |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
3 |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
4 ** Deprecated functions. |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
5 |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
6 The following functions were deprecated in Octave 3.2 and have been |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
7 removed from Octave 3.6. |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
8 |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
9 create_set spcholinv splu |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
10 dmult spcumprod spmax |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
11 iscommand spcumsum spmin |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
12 israwcommand spdet spprod |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
13 lchol spdiag spqr |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
14 loadimage spfind spsum |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
15 mark_as_command sphcat spsumsq |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
16 mark_as_rawcommand spinv spvcat |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
17 spatan2 spkron str2mat |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
18 spchol splchol unmark_command |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
19 spchol2inv split unmark_rawcommand |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
20 |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
21 Summary of important user-visible changes for version 3.4: |
9352 | 22 --------------------------------------------------------- |
23 | |
9799
cfd0aa788ae1
remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents:
9745
diff
changeset
|
24 ** 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
|
25 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
|
26 from the Octave sources. |
cfd0aa788ae1
remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents:
9745
diff
changeset
|
27 |
10118 | 28 ** The `lookup' function was extended to be more useful for |
29 general-purpose binary searching. Using this improvement, the | |
30 ismember function was rewritten for significantly better | |
31 performance. | |
9352 | 32 |
33 ** Real, integer and logical matrices, when used in indexing, will now | |
34 cache the internal index_vector value (zero-based indices) when | |
35 successfully used as indices, eliminating the conversion penalty for | |
10118 | 36 subsequent indexing by the same matrix. In particular, this means it |
37 is no longer needed to avoid repeated indexing by logical arrays | |
38 using find for performance reasons. | |
9888 | 39 |
10118 | 40 ** Logical matrices are now treated more efficiently when used as |
41 indices. Octave will keep the index as a logical mask unless the | |
42 ratio of true elements is small enough, using a specialized | |
43 code. Previously, all logical matrices were always first converted | |
44 to index vectors. This results in savings in both memory and | |
45 computing time. | |
9480 | 46 |
10118 | 47 ** The `sub2ind' and `ind2sub' functions were reimplemented as compiled |
48 functions for better performance. These functions are now faster, | |
49 can deliver more economized results for ranges, and can reuse the | |
50 index cache mechanism described in previous paragraph. | |
51 | |
52 ** The built-in function equivalents to associative operators (`plus', | |
53 `times', `mtimes', `and', and `or') have been extended to accept | |
54 multiple arguments. This is especially useful for summing | |
55 (multiplying, etc.) lists of objects (of possibly distinct types): | |
9408 | 56 |
9449 | 57 matrix_sum = plus (matrix_list{:}); |
58 | |
10118 | 59 ** An FTP object type based on libcurl has been implemented. These |
60 objects allow ftp connections, downloads and uploads to be | |
61 managed. For example, | |
9880 | 62 |
10118 | 63 fp = ftp ("ftp.octave.org); |
64 cd (fp, "gnu/octave"); | |
65 mget (fp, "octave-3.2.3.tar.bz2"); | |
66 close (fp); | |
9880 | 67 |
10118 | 68 ** The default behavior of `assert (observed, expected)' has been |
69 relaxed to employ less strict checking that does not require the | |
70 internals of the values to match. This avoids previously valid | |
71 tests from breaking due to new internal classes introduced in future | |
72 Octave versions. | |
9449 | 73 |
74 For instance, all of these assertions were true in Octave 3.0.x | |
75 but false in 3.2.x due to new optimizations and improvements: | |
76 | |
77 assert (2*linspace (1, 5, 5), 2*(1:5)) | |
78 assert (zeros (0, 0), []) | |
79 assert (2*ones (1, 5), (2) (ones (1,5))) | |
9462 | 80 |
10118 | 81 ** The behavior of library functions `ismatrix', `issquare', and |
82 `issymmetric' has been changed for better consistency. | |
9873 | 83 |
10292 | 84 * The `ismatrix' function now returns true for all numeric, |
11562
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
85 logical and character 2-D or N-D matrices. Previously, `ismatrix' |
10292 | 86 returned false if the first or second dimension was zero. |
87 Hence, `ismatrix ([])' was false, | |
88 while `ismatrix (zeros (1,2,0))' was true. | |
9873 | 89 |
10118 | 90 * The `issquare' function now returns a logical scalar, and is |
91 equivalent to the expression | |
92 | |
93 ismatrix (x) && ndims (x) == 2 && rows (x) == columns (x) | |
94 | |
95 The dimension is no longer returned. As a result, `issquare ([])' | |
96 now yields true. | |
9873 | 97 |
10118 | 98 * The `issymmetric' function now checks for symmetry instead of |
11562
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
99 Hermitianness. For the latter, ishermitian was created. Also, |
10118 | 100 logical scalar is returned rather than the dimension, so |
101 `issymmetric ([])' is now true. | |
9873 | 102 |
10118 | 103 ** Function handles are now aware of overloaded functions. If a |
104 function is overloaded, the handle determines at the time of its | |
105 reference which function to call. A non-overloaded version does not | |
106 need to exist. | |
9873 | 107 |
10118 | 108 ** Overloading functions for built-in classes (double, int8, cell, |
109 etc.) is now compatible with Matlab. | |
9408 | 110 |
10323 | 111 ** Function handles can now be compared with the == and != operators, |
112 as well as the `isequal' function. | |
113 | |
10118 | 114 ** Performance of concatenation (using []) and the functions `cat', |
115 `horzcat', and `vertcat' has been improved for multidimensional | |
116 arrays. | |
10117 | 117 |
9547 | 118 ** The operation-assignment operators +=, -=, *= and /= now behave more |
10118 | 119 efficiently in certain cases. For instance, if M is a matrix and S a |
120 scalar, then the statement | |
9547 | 121 |
10118 | 122 M += S; |
9547 | 123 |
10118 | 124 will operate on M's data in-place if it is not shared by another |
125 variable, usually increasing both time and memory efficiency. | |
9547 | 126 |
9558 | 127 Only selected common combinations are affected, namely: |
9547 | 128 |
129 matrix += matrix | |
130 matrix -= matrix | |
9558 | 131 matrix .*= matrix |
132 matrix ./= matrix | |
133 | |
9547 | 134 matrix += scalar |
135 matrix -= scalar | |
136 matrix *= scalar | |
137 matrix /= scalar | |
9558 | 138 |
9552 | 139 logical matrix |= logical matrix |
140 logical matrix &= logical matrix | |
9547 | 141 |
10118 | 142 where matrix and scalar belong to the same class. The left-hand |
143 side must be a simple variable reference. | |
9888 | 144 |
10118 | 145 Moreover, when unary operators occur in expressions, Octave will |
146 also try to do the operation in-place if it's argument is a | |
147 temporary expresssion. | |
9589 | 148 |
10118 | 149 ** The effect of comparison operators (<, >, <=, and >=) applied to |
150 complex numbers has changed to be consistent with the strict | |
151 ordering defined by the `max', `min', and `sort' functions. More | |
152 specifically, complex numbers are compared by lexicographical | |
153 comparison of the pairs `[abs(z), arg(z)]'. Previously, only real | |
154 parts were compared; this can be trivially achieved by wrapping the | |
155 operands in real(). | |
9547 | 156 |
10118 | 157 ** The automatic simplification of complex computation results has |
158 changed. Octave will now simplify any complex number with a zero | |
159 imaginary part or any complex matrix with all elements having zero | |
160 imaginary part to a real value. Previously, this was done only for | |
161 positive zeros. Note that the behavior of the complex function is | |
162 unchanged and it still produces a complex value even if the | |
163 imaginary part is zero. | |
9826 | 164 |
10118 | 165 ** As a side effect of code refactoring in liboctave, the binary |
166 logical operations are now more easily amenable to compiler | |
167 optimizations and are thus significantly faster. | |
9595 | 168 |
10118 | 169 ** Octave now allows user-defined `subsasgn' methods to optimize out |
170 redundant copies. For more information, see the manual. | |
9595 | 171 |
10453 | 172 ** More efficient matrix division handling. Octave is now able to |
10118 | 173 handle the expressions |
9664 | 174 |
10118 | 175 M' \ V |
176 M.' \ V | |
177 V / M | |
9664 | 178 |
10118 | 179 (M is a matrix and V is a vector) more efficiently in certain cases. |
180 In particular, if M is triangular, all three expressions will be | |
181 handled by a single call to xTRTRS (from LAPACK), with appropriate | |
10453 | 182 flags. Previously, all three expressions required a physical |
10118 | 183 transpose of M. |
9664 | 184 |
10118 | 185 ** More efficient handling of certain mixed real-complex matrix |
186 operations. For instance, if RM is a real matrix and CM a complex | |
187 matrix, | |
9664 | 188 |
10118 | 189 RM * CM |
9664 | 190 |
191 can now be evaluated either as | |
192 | |
193 complex (RM * real (CM), RM * imag (CM)) | |
194 | |
195 or as | |
196 | |
197 complex (RM) * CM, | |
198 | |
10453 | 199 depending on the dimensions. The first form requires more |
200 temporaries and copying, but halves the FLOP count, which normally | |
201 brings better performance if RM has enough rows. Previously, the | |
202 second form was always used. | |
9664 | 203 |
11111 | 204 Matrix division is similarly affected. |
9664 | 205 |
10118 | 206 ** More efficient handling of triangular matrix factors returned from |
207 factorizations. The functions for computing QR, LU and Cholesky | |
208 factorizations will now automatically return the triangular matrix | |
209 factors with proper internal matrix_type set, so that it won't need | |
210 to be computed when the matrix is used for division. | |
9717 | 211 |
10118 | 212 ** The built-in `sum' function now handles the non-native summation |
213 (i.e., double precision sum of single or integer inputs) more | |
214 efficiently, avoiding a temporary conversion of the whole input | |
215 array to doubles. Further, `sum' can now accept an extra option | |
216 argument, using a compensated summation algorithm rather than a | |
217 straightforward sum, which significantly improves precision if lots | |
218 of cancellation occurs in the summation. | |
9717 | 219 |
10118 | 220 ** The built-in `bsxfun' function now uses optimized code for certain |
221 cases where built-in operator handles are passed in. Namely, the | |
222 optimizations concern the operators `plus', `minus', `times', | |
223 `ldivide', `rdivide', `power', `and', `or' (for logical arrays), | |
224 the relational operators `eq', `ne', `lt', `le', `gt', `ge', and the | |
225 functions `min' and `max'. Optimizations only apply when both | |
226 operands are of the same built-in class. Mixed real/complex and | |
227 single/double operations will first convert both operands to a | |
228 common type. | |
9745 | 229 |
10118 | 230 ** The `strfind' and `strrep' functions now have compiled |
231 implementations, facilitating significantly more efficient searching | |
232 and replacing in strings, especially with longer patterns. The code | |
233 of `strcat' has been vectorized and is now much more efficient when | |
234 many strings are concatenated. The `strcmpi' and `strncmpi' | |
235 functions are now built-in functions, providing better performance. | |
10208 | 236 |
10453 | 237 ** Matlab-style ignoring input and output function arguments using |
11111 | 238 tilde (~) is now supported. Ignored output arguments may be |
239 detected from a function using the built-in function `isargout'. | |
240 For more details, consult the manual. | |
10886 | 241 |
10453 | 242 ** The list datatype, deprecated since the introduction of cells, has |
243 been removed. | |
10276 | 244 |
10453 | 245 ** The accumarray function has been optimized and is now significantly |
246 faster in certain important cases. | |
10054 | 247 |
10292 | 248 ** The behavior of isreal and isnumeric functions was changed to be more |
249 Matlab-compatible. | |
250 | |
10406 | 251 ** The integer math & conversion warnings (Octave:int-convert-nan, |
252 Octave:int-convert-non-int-val, Octave:int-convert-overflow, | |
11111 | 253 Octave:int-math-overflow) have been removed. |
10406 | 254 |
10453 | 255 ** rem and mod are now built-in functions. They also handle integer |
256 types efficiently using integer arithmetic. | |
10437 | 257 |
10536 | 258 ** Sparse indexing and indexed assignment has been mostly rewritten. |
259 Since Octave uses compressed column storage for sparse matrices, | |
260 major attention is devoted to operations manipulating whole columns. | |
261 Such operations are now significantly faster, as well as some other | |
262 important cases. | |
263 | |
264 Further, it is now possible to pre-allocate a sparse matrix and | |
265 subsequently fill it by assignments, provided they meet certain | |
266 conditions. For more information, consult the `spalloc' function, | |
267 which is no longer a mere dummy. Consequently, nzmax and nnz are no | |
11111 | 268 longer always equal in Octave. Octave may also produce a matrix |
269 with nnz < nzmax as a result of other operations, so you should | |
270 consistently use nnz unless you really want to use nzmax (i.e. the | |
271 space allocated for nonzero elements). | |
10536 | 272 |
273 Sparse concatenation is also affected, and concatenating sparse | |
274 matrices, especially larger collections, is now significantly more | |
11111 | 275 efficient. This applies to both the [] operator and the |
10536 | 276 cat/vertcat/horzcat functions. |
277 | |
11111 | 278 ** It is now possible to optionally employ the xGESDD LAPACK drivers |
279 for computing the singular value decomposition using svd(), instead | |
280 of the default xGESVD, using the configuration pseudo-variable | |
281 svd_driver. The xGESDD driver can be up to 6x times faster when | |
282 singular vectors are requested, but is reported to be somewhat less | |
10639 | 283 robust on highly ill-conditioned matrices. |
284 | |
285 ** Configuration pseudo-variables, such as page_screen_output or | |
286 confirm_recursive_rmdir (or the above mentioned svd_driver), now | |
287 accept a "local" option as second argument, requesting the change | |
11154
92a7c136ab35
Update NEWS with more deprecated functions from version 3.4
Rik <octave@nomad.inbox5.com>
parents:
11139
diff
changeset
|
288 to be undone when the current function returns: |
10639 | 289 |
290 function [status, msg] = rm_rf (dir) | |
291 confirm_recursive_rmdir (false, "local"); | |
292 [status, msg] = rmdir (dir, "s"); | |
293 ... | |
294 endfunction | |
295 | |
296 Upon return, confirm_recursive_rmdir will be restored to the value | |
297 it had on entry to the function, even if there were subsequent | |
298 changes to the variable in function rm_rf or any of the functions | |
299 it calls. | |
300 | |
11111 | 301 ** pkg now accepts a -forge option for downloading and installing |
302 packages from Octave Forge automatically. For example, | |
10774 | 303 |
304 pkg install -forge general | |
305 | |
11111 | 306 will automatically download the latest release of the general |
307 package and attempt to install it. No automatic resolving of | |
308 dependencies is provided. Further, | |
10639 | 309 |
10774 | 310 pkg list -forge |
311 | |
312 can be used to list all available packages. | |
313 | |
11111 | 314 ** The internal data representation of structs has been completely |
315 rewritten to make certain optimizations feasible. The field data | |
316 can now be shared between structs with equal keys but different | |
317 dimensions or values, making operations that preserve the fields | |
318 faster. Economized storage is now used for scalar structs (just | |
319 like most other scalars), making their usage more | |
320 memory-efficient. Certain array-like operations on structs | |
321 (concatenation, uniform cellfun, num2cell) have gained a | |
322 significant speed-up. Additionally, the octave_scalar_map class | |
323 now provides a simpler interface to work with scalar structs within | |
324 a C++ DLD function. | |
10639 | 325 |
10776
062304bd692e
Update NEWS with description of new engineering format for numbers.
Rik <octave@nomad.inbox5.com>
parents:
10774
diff
changeset
|
326 ** Two new formats are available for displaying numbers: |
11111 | 327 |
328 format short eng | |
329 format long eng | |
330 | |
331 Both display numbers in engineering notation, i.e., mantissa + | |
332 exponent where the exponent is a multiple of 3. | |
10776
062304bd692e
Update NEWS with description of new engineering format for numbers.
Rik <octave@nomad.inbox5.com>
parents:
10774
diff
changeset
|
333 |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
334 ** The following functions are new in Octave 3.4: |
10829 | 335 |
11562
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
336 accumdim erfcx nfields pqpnonneg uigetdir |
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
337 bitpack fileread nth_element quadcc uigetfile |
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
338 bitunpack fminbnd onCleanup randi uiputfile |
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
339 blkmm fskipl pbaspect repelems uimenu |
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
340 cbrt ifelse pie3 reset whitebg |
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
341 curl ishermitian powerset rsf2csf |
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
342 chop isindex ppder saveas |
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
343 daspect luupdate ppint strread |
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
344 divergence merge ppjumps textread |
11109
41d18f6342f9
remove image_viewer function
John W. Eaton <jwe@octave.org>
parents:
10966
diff
changeset
|
345 |
41d18f6342f9
remove image_viewer function
John W. Eaton <jwe@octave.org>
parents:
10966
diff
changeset
|
346 ** Using the image function to view images with external programs such |
41d18f6342f9
remove image_viewer function
John W. Eaton <jwe@octave.org>
parents:
10966
diff
changeset
|
347 as display, xv, and xloadimage is no longer supported. The |
41d18f6342f9
remove image_viewer function
John W. Eaton <jwe@octave.org>
parents:
10966
diff
changeset
|
348 image_viewer function has also been removed. |
41d18f6342f9
remove image_viewer function
John W. Eaton <jwe@octave.org>
parents:
10966
diff
changeset
|
349 |
11111 | 350 ** The behavior of struct assignments to non-struct values has been |
351 changed. Previously, it was possible to overwrite an arbitrary | |
352 value: | |
10873 | 353 |
354 a = 1; | |
355 a.x = 2; | |
356 | |
11111 | 357 This is no longer possible unless a is an empty matrix or cell |
358 array. | |
10938 | 359 |
11111 | 360 ** The dlmread function has been extended to allow specifying a custom |
361 value for empty fields. | |
10829 | 362 |
11111 | 363 ** The dlmread and dlmwrite functions have been modified to accept |
364 file IDs (as returned by fopen) in addition to file names. | |
365 | |
366 ** Octave can now optimize away the interpreter overhead of an | |
367 anonymous function handle, if the function simply calls another | |
368 function or handle with some of its parameters bound to certain | |
369 values. Example: | |
10966 | 370 |
371 f = @(x) sum (x, 1); | |
372 | |
11111 | 373 When f is called, the call is forwarded to @sum with the constant 1 |
374 appended, and the anonymous function call does not occur on the | |
375 call stack. | |
10829 | 376 |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
377 ** Deprecated functions. |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
378 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
379 The following functions were deprecated in Octave 3.0 and have been |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
380 removed from Octave 3.4. |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
381 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
382 beta_cdf geometric_pdf pascal_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
383 beta_inv geometric_rnd pascal_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
384 beta_pdf hypergeometric_cdf poisson_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
385 beta_rnd hypergeometric_inv poisson_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
386 binomial_cdf hypergeometric_pdf poisson_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
387 binomial_inv hypergeometric_rnd poisson_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
388 binomial_pdf intersection polyinteg |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
389 binomial_rnd is_bool setstr |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
390 chisquare_cdf is_complex struct_contains |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
391 chisquare_inv is_list struct_elements |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
392 chisquare_pdf is_matrix t_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
393 chisquare_rnd is_scalar t_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
394 clearplot is_square t_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
395 clg is_stream t_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
396 com2str is_struct uniform_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
397 exponential_cdf is_symmetric uniform_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
398 exponential_inv is_vector uniform_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
399 exponential_pdf isstr uniform_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
400 exponential_rnd lognormal_cdf weibcdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
401 f_cdf lognormal_inv weibinv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
402 f_inv lognormal_pdf weibpdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
403 f_pdf lognormal_rnd weibrnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
404 f_rnd meshdom weibull_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
405 gamma_cdf normal_cdf weibull_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
406 gamma_inv normal_inv weibull_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
407 gamma_pdf normal_pdf weibull_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
408 gamma_rnd normal_rnd wiener_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
409 geometric_cdf pascal_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
410 geometric_inv pascal_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
411 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
412 The following functions were deprecated in Octave 3.2 and will |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
413 be removed from Octave 3.6 (or whatever version is the second major |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
414 release after 3.2): |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
415 |
11390
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
416 create_set spcholinv splu |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
417 dmult spcumprod spmax |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
418 iscommand spcumsum spmin |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
419 israwcommand spdet spprod |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
420 lchol spdiag spqr |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
421 loadimage spfind spsum |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
422 mark_as_command sphcat spsumsq |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
423 mark_as_rawcommand spinv spvcat |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
424 spatan2 spkron str2mat |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
425 spchol splchol unmark_command |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
426 spchol2inv split unmark_rawcommand |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
427 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
428 The following functions have been deprecated in Octave 3.4 and will |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
429 be removed from Octave 3.8 (or whatever version is the second major |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
430 release after 3.4): |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
431 |
12224
abcd61f965e5
Deprecate glpkmex function and remove from documentation.
Rik <octave@nomad.inbox5.com>
parents:
12218
diff
changeset
|
432 autocor cellidx gammai krylovb values |
abcd61f965e5
Deprecate glpkmex function and remove from documentation.
Rik <octave@nomad.inbox5.com>
parents:
12218
diff
changeset
|
433 autocov dispatch glpkmex replot |
abcd61f965e5
Deprecate glpkmex function and remove from documentation.
Rik <octave@nomad.inbox5.com>
parents:
12218
diff
changeset
|
434 betai fstat is_global saveimage |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
435 |
12150
605ed5bbb643
mu2lin: make default for N compatible with Matlab
John W. Eaton <jwe@octave.org>
parents:
11576
diff
changeset
|
436 * For compatibility with Matlab, mu2lin (x) is now equivalent to |
605ed5bbb643
mu2lin: make default for N compatible with Matlab
John W. Eaton <jwe@octave.org>
parents:
11576
diff
changeset
|
437 mu2lin (x, 0). |
605ed5bbb643
mu2lin: make default for N compatible with Matlab
John W. Eaton <jwe@octave.org>
parents:
11576
diff
changeset
|
438 |
12218
e3048d7fb131
remove ARPACK from documentation and some config files
John W. Eaton <jwe@octave.org>
parents:
12210
diff
changeset
|
439 * The ARPACK library is now distributed with Octave so it no longer |
e3048d7fb131
remove ARPACK from documentation and some config files
John W. Eaton <jwe@octave.org>
parents:
12210
diff
changeset
|
440 needs to be available as an external dependency when building |
e3048d7fb131
remove ARPACK from documentation and some config files
John W. Eaton <jwe@octave.org>
parents:
12210
diff
changeset
|
441 Octave. |
e3048d7fb131
remove ARPACK from documentation and some config files
John W. Eaton <jwe@octave.org>
parents:
12210
diff
changeset
|
442 |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
443 Summary of important user-visible changes for version 3.2: |
5913 | 444 --------------------------------------------------------- |
2452 | 445 |
8737 | 446 ** Compatibility with Matlab graphics has been improved. |
6329 | 447 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
448 The hggroup object and associated listener callback functions have |
8737 | 449 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
|
450 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
|
451 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
452 x = 0:0.1:10; |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
453 y = sin (x); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
454 plot (x, y, "ydatasource", "y"); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
455 for i = 1 : 100 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
456 pause(0.1) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
457 y = sin (x + 0.1 * i); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
458 refreshdata(); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
459 endfor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
460 |
8737 | 461 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
|
462 stem-series, bar-series, etc., objects for better Matlab |
8737 | 463 compatibility. |
464 | |
465 ** New graphics functions: | |
466 | |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
467 addlistener ezcontour gcbo refresh |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
468 addproperty ezcontourf ginput refreshdata |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
469 allchild ezmesh gtext specular |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
470 available_graphics_toolkits ezmeshc intwarning surfl |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
471 graphics_toolkit ezplot ishghandle trisurf |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
472 cla ezplot3 isocolors waitforbuttonpress |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
473 clabel ezpolar isonormals |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
474 comet ezsurf isosurface |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
475 dellistener findall linkprop |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
476 diffuse gcbf plotmatrix |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
477 |
8737 | 478 ** New experimental OpenGL/FLTK based plotting system. |
479 | |
480 An experimental plotting system based on OpenGL and the FLTK | |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
481 toolkit is now part of Octave. This graphics toolkit is disabled by |
8737 | 482 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
|
483 |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
484 graphics_toolkit ("fltk") |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
485 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
486 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
|
487 |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
488 graphics_toolkit (h, "fltk") |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
489 |
11139 | 490 where "h" is a valid figure handle. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
491 |
8737 | 492 ** Functions providing direct access to gnuplot have been removed. |
493 | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
494 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
|
495 __gnuplot_show__, __gnuplot_replot__, __gnuplot_splot__, |
8737 | 496 __gnuplot_save_data__ and __gnuplot_send_inline_data__ have been |
497 removed from Octave. These function were incompatible with the | |
498 high level graphics handle code. | |
6329 | 499 |
8885 | 500 ** The Control, Finance and Quaternion functions have been removed. |
501 | |
502 These functions are now available as separate packages from | |
503 | |
504 http://octave.sourceforge.net/packages.html | |
505 | |
506 and can be reinstalled using the Octave package manager (see | |
507 the pkg function). | |
508 | |
509 ** Specific sparse matrix functions removed. | |
510 | |
511 The following functions, which handled only sparse matrices have | |
512 been removed. Instead of calling these functions directly, you | |
513 should use the corresponding function without the "sp" prefix. | |
8737 | 514 |
8885 | 515 spatan2 spcumsum spkron spprod |
516 spchol spdet splchol spqr | |
517 spchol2inv spdiag splu spsum | |
518 spcholinv spfind spmax spsumsqk | |
519 spcumprod spinv spmin | |
520 | |
521 ** Improvements to the debugger. | |
522 | |
523 The interactive debugging features have been improved. Stopping | |
524 on statements with dbstop should work correctly now. Stepping | |
525 into and over functions, and stepping one statement at a time | |
526 (with dbstep) now works. Moving up and down the call stack with | |
527 dbup and dbdown now works. The dbstack function is now available | |
528 to print the current function call stack. The new dbquit function | |
529 is available to exit the debugging mode. | |
530 | |
531 ** Improved traceback error messages. | |
532 | |
533 Traceback error messages are much more concise and easier to | |
534 understand. They now display information about the function call | |
535 stack instead of the stack of all statements that were active at | |
536 the point of the error. | |
8014
44d206ae68c9
improve fsolve compatibility
John W. Eaton <jwe@octave.org>
parents:
7990
diff
changeset
|
537 |
8737 | 538 ** Object Oriented Programming. |
8405
d79dfbff2f9d
document new norm features in NEWS
Jaroslav Hajek <highegg@gmail.com>
parents:
8396
diff
changeset
|
539 |
8737 | 540 Octave now includes OOP features and the user can create their own |
541 class objects and overloaded functions and operators. For | |
542 example, all methods of a class called "myclass" will be found in | |
543 a directory "@myclass" on the users path. The class specific | |
544 versions of functions and operators take precedence over the | |
545 generic versions of these functions. | |
546 | |
547 New functions related to OOP include | |
7189 | 548 |
8737 | 549 class inferiorto isobject loadobj methods superiorto |
550 | |
551 See the Octave manual for more details. | |
7038 | 552 |
8747 | 553 ** Parsing of Command-style Functions. |
554 | |
555 Octave now parses command-style functions without needing to first | |
556 declare them with "mark_as_command". The rules for recognizing a | |
557 command-style function calls are | |
558 | |
559 * A command must appear as the first word in a statement, | |
560 followed by a space. | |
561 | |
562 * The first character after the space must not be '=' or '(' | |
563 | |
564 * The next token after the space must not look like a binary | |
565 operator. | |
566 | |
567 These rules should be mostly compatible with the way Matlab parses | |
568 command-style function calls and allow users to define commands in | |
569 .m files without having to mark them as commands. | |
570 | |
571 Note that previous versions of Octave allowed expressions like | |
572 | |
573 x = load -text foo.dat | |
574 | |
575 but an expression like this will now generate a parse error. In | |
576 order to assign the value returned by a function to a variable, | |
577 you must use the normal function call syntax: | |
578 | |
579 x = load ("-text", "foo.dat"); | |
580 | |
8737 | 581 ** Block comments. |
582 | |
8747 | 583 Commented code can be between matching "#{" and "#}" or "%{" and |
584 "%}" markers, even if the commented code spans several line. This | |
585 allows blocks code to be commented, without needing to comment | |
586 each line. For example, | |
5814 | 587 |
8747 | 588 function [s, t] = func (x, y) |
589 s = 2 * x; | |
590 #{ | |
591 s *= y; | |
592 t = y + x; | |
593 #} | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
594 endfunction |
5814 | 595 |
8747 | 596 the lines "s *= y;" and "t = y + x" will not be executed. |
8737 | 597 |
12400
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
598 ** If any subfunction in a file ends with "end" or "endfunction", then |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
599 they all must end that way. Previously, Octave accepted |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
600 |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
601 function main () |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
602 ... |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
603 # no endfunction here. |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
604 function sub () |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
605 ... |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
606 endfunction |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
607 |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
608 but this is no longer allowed. |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
609 |
8737 | 610 ** Special treatment in the parser of expressions like "a' * b". |
2452 | 611 |
8737 | 612 In these cases the transpose is no longer explicitly formed and |
613 BLAS libraries are called with the transpose flagged, | |
614 significantly improving performance for these kinds of | |
615 operations. | |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8405
diff
changeset
|
616 |
8737 | 617 ** Single Precision data type. |
2452 | 618 |
8737 | 619 Octave now includes a single precision data type. Single |
620 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
|
621 from functions like ones, eye, etc. For example, |
5995 | 622 |
8737 | 623 single (1) |
624 ones (2, 2, "single") | |
625 zeros (2, 2, "single") | |
626 eye (2, 2, "single") | |
627 Inf (2, 2, "single") | |
628 NaN (2, 2, "single") | |
629 NA (2, 2, "single") | |
7279 | 630 |
8737 | 631 all create single precision variables. For compatibility with |
632 Matlab, mixed double/single precision operators and functions | |
633 return single precision types. | |
634 | |
635 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
|
636 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
|
637 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
|
638 visa-versa are warned that compatibility might not be assured. |
7279 | 639 |
8737 | 640 ** Improved array indexing. |
641 | |
642 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
|
643 completely rewritten and indexing is now significantly faster. |
8737 | 644 |
8755 | 645 ** Improved memory management. |
646 | |
647 Octave will now attempt to share data in some cases where previously | |
648 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
|
649 conversions between cells, structs and cs-lists. This usually reduces |
8755 | 650 both time and memory consumption. |
9128 | 651 Also, Octave will now attempt to detect and optimize usage of a vector |
652 as a stack, when elements are being repeatedly inserted at/removed from | |
653 the end of the vector. | |
8755 | 654 |
8738 | 655 ** Improved performance for reduction operations. |
656 | |
8755 | 657 The performance of the sum, prod, sumsq, cumsum, cumprod, any, all, |
658 max and min functions has been significantly improved. | |
8738 | 659 |
9006 | 660 ** Sorting and searching. |
661 | |
662 The performance of sort has been improved, especially when sorting | |
10453 | 663 indices are requested. An efficient built-in issorted |
664 implementation was added. The sortrows function now uses a more | |
665 efficient algorithm, especially in the homegeneous case. The lookup | |
666 function is now a built-in function performing a binary search, | |
667 optimized for long runs of close elements. Lookup also works with | |
668 cell arrays of strings. | |
9006 | 669 |
670 ** Range arithmetics | |
671 | |
10453 | 672 For some operations on ranges, Octave will attempt to keep the |
673 result as a range. These include negation, adding a scalar, | |
674 subtracting a scalar, and multiplying by a scalar. Ranges with zero | |
675 increment are allowed and can be constructed using the built-in | |
676 function `ones'. | |
9006 | 677 |
678 ** Various performance improvements. | |
679 | |
10453 | 680 Performance of a number of other built-in operations and functions |
681 was improved, including: | |
9006 | 682 |
683 * logical operations | |
684 * comparison operators | |
685 * element-wise power | |
686 * accumarray | |
687 * cellfun | |
688 * isnan | |
689 * isinf | |
690 * isfinite | |
691 * nchoosek | |
692 * repmat | |
693 * strcmp | |
694 | |
8737 | 695 ** 64-bit integer arithmetic. |
696 | |
697 Arithmetic with 64-bit integers (int64 and uint64 types) is fully | |
698 supported, with saturation semantics like the other integer types. | |
699 Performance of most integer arithmetic operations has been | |
700 improved by using integer arithmetic directly. Previously, Octave | |
701 performed integer math with saturation semantics by converting the | |
702 operands to double precision, performing the operation, and then | |
703 converting the result back to an integer value, truncating if | |
704 necessary. | |
705 | |
8885 | 706 ** Diagonal and permutation matrices. |
707 | |
708 The interpreter can now treat diagonal and permutation matrices as | |
709 special objects that store only the non-zero elements, rather than | |
710 general full matrices. Therefore, it is now possible to construct | |
711 and use these matrices in linear algebra without suffering a | |
712 performance penalty due to storing large numbers of zero elements. | |
713 | |
714 ** Improvements to fsolve. | |
715 | |
716 The fsolve function now accepts an option structure argument (see | |
717 also the optimset function). The INFO values returned from fsolve | |
718 have changed to be compatible with Matlab's fsolve function. | |
719 Additionally, fsolve is now able to solve overdetermined systems, | |
720 complex-differentiable complex systems, systems with a sparse | |
721 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
|
722 inputs. It can also be called recursively. |
8885 | 723 |
8737 | 724 ** Improvements to the norm function. |
725 | |
726 The norm function is now able to compute row or column norms of a | |
727 matrix in a single call, as well as general matrix p-norms. | |
728 | |
729 ** New functions for computing some eigenvalues or singular values. | |
730 | |
731 The eigs and svds functions have been included in Octave. These | |
732 functions require the ARPACK library (now distributed under a | |
733 GPL-compatible license). | |
734 | |
735 ** 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
|
736 |
8737 | 737 choldelete cholshift qrdelete qrshift |
738 cholinsert cholupdate qrinsert qrupdate | |
739 | |
740 ** New quadrature functions. | |
741 | |
742 dblquad quadgk quadv triplequad | |
743 | |
8885 | 744 ** New functions for reading and writing images. |
745 | |
746 The imwrite and imread functions have been included in Octave. | |
747 These functions require the GraphicsMagick library. The new | |
748 function imfinfo provides information about an image file (size, | |
749 type, colors, etc.) | |
750 | |
9215
1500d0197484
allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents:
9128
diff
changeset
|
751 ** 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
|
752 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
|
753 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
|
754 |
8737 | 755 ** Other miscellaneous new functions. |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
756 |
8932
2d0f8692a82e
Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents:
8888
diff
changeset
|
757 addtodate hypot reallog |
2d0f8692a82e
Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents:
8888
diff
changeset
|
758 bicgstab idivide realpow |
9006 | 759 cellslices info realsqrt |
760 cgs interp1q rectint | |
761 command_line_path isdebugmode regexptranslate | |
762 contrast isfloat restoredefaultpath | |
763 convn isstrprop roundb | |
764 cummin log1p rundemos | |
765 cummax lsqnonneg runlength | |
766 datetick matlabroot saveobj | |
767 display namelengthmax spaugment | |
768 expm1 nargoutchk strchr | |
769 filemarker pathdef strvcat | |
770 fstat perl subspace | |
771 full prctile symvar | |
772 fzero quantile treelayout | |
773 genvarname re_read_readline_init_file validatestring | |
774 histc | |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
775 |
8885 | 776 ** Changes to strcat. |
777 | |
778 The strcat function is now compatible with Matlab's strcat | |
779 function, which removes trailing whitespace when concatenating | |
780 character strings. For example | |
781 | |
782 strcat ('foo ', 'bar') | |
783 ==> 'foobar' | |
784 | |
785 The new function cstrcat provides the previous behavior of | |
786 Octave's strcat. | |
787 | |
788 ** Improvements to the help functions. | |
789 | |
9034
52515efc50c0
Documentation cleanup on NEWS file
Rik <rdrider0-list@yahoo.com>
parents:
9031
diff
changeset
|
790 The help system has been mostly re-implemented in .m files to make |
8885 | 791 it easier to modify. Performance of the lookfor function has been |
792 greatly improved by caching the help text from all functions that | |
793 are distributed with Octave. The pkg function has been modified | |
794 to generate cache files for external packages when they are | |
795 installed. | |
796 | |
8888
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
797 ** Deprecated functions. |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
798 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
799 The following functions were deprecated in Octave 3.0 and will be |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
800 removed from Octave 3.4 (or whatever version is the second major |
8888
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
801 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
|
802 |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
803 beta_cdf geometric_pdf pascal_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
804 beta_inv geometric_rnd pascal_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
805 beta_pdf hypergeometric_cdf poisson_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
806 beta_rnd hypergeometric_inv poisson_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
807 binomial_cdf hypergeometric_pdf poisson_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
808 binomial_inv hypergeometric_rnd poisson_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
809 binomial_pdf intersection polyinteg |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
810 binomial_rnd is_bool setstr |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
811 chisquare_cdf is_complex struct_contains |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
812 chisquare_inv is_list struct_elements |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
813 chisquare_pdf is_matrix t_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
814 chisquare_rnd is_scalar t_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
815 clearplot is_square t_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
816 clg is_stream t_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
817 com2str is_struct uniform_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
818 exponential_cdf is_symmetric uniform_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
819 exponential_inv is_vector uniform_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
820 exponential_pdf isstr uniform_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
821 exponential_rnd lognormal_cdf weibcdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
822 f_cdf lognormal_inv weibinv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
823 f_inv lognormal_pdf weibpdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
824 f_pdf lognormal_rnd weibrnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
825 f_rnd meshdom weibull_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
826 gamma_cdf normal_cdf weibull_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
827 gamma_inv normal_inv weibull_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
828 gamma_pdf normal_pdf weibull_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
829 gamma_rnd normal_rnd wiener_rnd |
8888
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
830 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
|
831 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
|
832 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
833 The following functions are now deprecated in Octave 3.2 and will |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
834 be removed from Octave 3.6 (or whatever version is the second major |
8888
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
835 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
|
836 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
837 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
|
838 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
|
839 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
|
840 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
|
841 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
|
842 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
|
843 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
|
844 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
|
845 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
|
846 spchol split |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
847 spchol2inv splu |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
848 |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
849 See NEWS.3 for old news. |