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