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