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