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