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