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