annotate NEWS @ 19764:554aaaf99644

Fix return phase of acosh to match Matlab (bug #44286). * NEWS: Announce change. * mappers.cc (Facosh): Add BIST tests for new behavior. * lo-mappers.cc: Re-write expression sqrt (x*x -1.0) as sqrt (x + 1.0) * sqrt (x - 1.0) which gets phase correct if x is complex.
author Rik <rik@octave.org>
date Tue, 17 Feb 2015 11:07:01 -0800
parents 59ad278cfb98
children b8e4104a8f55
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
1 Summary of important user-visible changes for version 4.0:
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
2 ---------------------------------------------------------
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
3
18842
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
4 ** A new syntax for object oriented programming termed classdef has been
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
5 introduced. See the manual for more extensive documentation of the
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
6 classdef interface.
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
7
18842
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
8 New keywords:
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
9
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
10 classdef endclassdef
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
11 enumeration endenumeration
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
12 events endevents
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
13 methods endmethods
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
14 properties endproperties
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
15
19554
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19442
diff changeset
16 ** New audio functions and classes:
19069
ff820f92cbb5 inputParser: classdef port of @inputParser from Octave Forge general pkg.
Carnë Draug <carandraug@octave.org>
parents: 19064
diff changeset
17
19716
c2478360291f New functions sound and soundsc
Mike Miller <mtmiller@ieee.org>
parents: 19681
diff changeset
18 audiodevinfo audioread sound
c2478360291f New functions sound and soundsc
Mike Miller <mtmiller@ieee.org>
parents: 19681
diff changeset
19 audioinfo audiorecorder soundsc
19554
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19442
diff changeset
20 audioplayer audiowrite
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19442
diff changeset
21
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
22 ** Other new classes in Octave 4.0:
19554
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19442
diff changeset
23
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19442
diff changeset
24 audioplayer inputParser
19631
db92e7e28e1f strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 19630
diff changeset
25 audiorecorder
19069
ff820f92cbb5 inputParser: classdef port of @inputParser from Octave Forge general pkg.
Carnë Draug <carandraug@octave.org>
parents: 19064
diff changeset
26
19432
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
27 ** Optional stricter Matlab compatibility for ranges, diagonal matrices,
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
28 and permutation matrices.
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
29
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
30 Octave has internal optimizations which use space-efficient storage
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
31 for the three data types above. Three new functions have been added
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
32 which control whether the optimizations are used (default), or whether
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
33 the data types are stored as full matrices.
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
34
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
35 disable_range disable_diagonal_matrix disable_permutation_matrix
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
36
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
37 All three optimizations are disabled if Octave is started with the
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
38 --braindead command line option.
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
39
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
40 ** For compatibility with Matlab, the "backtrace" warning option is now
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
41 enabled by default.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
42
19738
80462dbfb3ac doc: NEWS entry for changes in the "ismatrix" function (bug #42422).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 19716
diff changeset
43 ** For compatibility with Matlab, the "ismatrix(x)" function now only checks
80462dbfb3ac doc: NEWS entry for changes in the "ismatrix" function (bug #42422).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 19716
diff changeset
44 the dimension of "x". The old behaviour of "ismatrix" is obtained by
80462dbfb3ac doc: NEWS entry for changes in the "ismatrix" function (bug #42422).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 19716
diff changeset
45 "isnumeric (x) || islogical (x) || ischar (x)".
80462dbfb3ac doc: NEWS entry for changes in the "ismatrix" function (bug #42422).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 19716
diff changeset
46
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
47 ** The preference
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
48
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
49 do_braindead_shortcircuit_evaluation
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
50
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
51 is now enabled by default.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
52
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
53 ** The preference
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
54
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
55 allow_noninteger_range_as_index
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
56
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
57 is now enabled by default and the warning ID
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
58
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
59 Octave:noninteger-range-as-index
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
60
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
61 is now set to "on" by default instead of "error" by default and "on"
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
62 for --traditional.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
63
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
64 ** polyeig now returns a row vector of eigenvalues rather than a matrix
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
65 with the eigenvalues on the diagonal. This change was made for Matlab
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
66 compatibility.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
67
18640
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
68 ** Interpolation function changes for Matlab compatibility
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
69
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
70 The interpolation method 'cubic' is now equivalent to 'pchip'
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
71 for interp1, interp2, and interp3. Previously, 'cubic' was equivalent
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
72 to 'spline' for interp2. This may produce different results as 'spline'
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
73 has continuous 1st and 2nd derivatives while 'pchip' only has a continuous
19328
b80b396e7d54 interp1.m: Add new methods "previous" and "next" (bug #43377).
Nir Krakauer <nkrakauer@ccny.cuny.edu>
parents: 19302
diff changeset
74 1st derivative. The methods 'next' and 'previous' have been added to
b80b396e7d54 interp1.m: Add new methods "previous" and "next" (bug #43377).
Nir Krakauer <nkrakauer@ccny.cuny.edu>
parents: 19302
diff changeset
75 interp1 for compatibility.
18640
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
76
19198
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
77 ** The delaunay function has been extended to accept 3-D inputs for
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
78 Matlab compatibility. The delaunay function no longer plots the
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
79 triangulation if no output argument is requested, instead, the
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
80 triangulation is always returned. The delaunay3 function which
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
81 handles 3-D inputs has been deprecated in favor of delaunay.
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
82
19276
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
83 ** The trigonometric functions asin and acos return different phase values
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
84 from previous versions of Octave when the input is outside the principal
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
85 branch ([-1, 1]). If the real portion of the input is greater than 1 then
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
86 the limit from below is taken. If the real portion is less than 1 then the
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
87 limit from above is taken. This criteria is consistent with several other
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
88 numerical analysis software packages.
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
89
19764
554aaaf99644 Fix return phase of acosh to match Matlab (bug #44286).
Rik <rik@octave.org>
parents: 19741
diff changeset
90 ** The hyperbolic function acosh now returns values with a phase in the range
554aaaf99644 Fix return phase of acosh to match Matlab (bug #44286).
Rik <rik@octave.org>
parents: 19741
diff changeset
91 [-pi/2, +pi/2]. Previously Octave returned values in the range [0, pi].
554aaaf99644 Fix return phase of acosh to match Matlab (bug #44286).
Rik <rik@octave.org>
parents: 19741
diff changeset
92 This is consistent with several other numerical analysis software packages.
554aaaf99644 Fix return phase of acosh to match Matlab (bug #44286).
Rik <rik@octave.org>
parents: 19741
diff changeset
93
19420
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
94 ** strfind changes when using empty pattern ("") for Matlab compatibility
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
95
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
96 strfind now returns an empty array when the pattern itself is empty.
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
97 In previous versions of Octave, strfind matched at every character
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
98 location when the pattern was empty.
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
99
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
100 NEW
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
101 strfind ("abc", "") => []
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
102 OLD
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
103 strfind ("abc", "") => [1, 2, 3, 4]
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
104
18686
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
105 ** Integer formats used in the printf family of functions now work for
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
106 64-bit integers and are more compatible with Matlab when printing
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
107 non-integer values. Now instead of truncating, Octave will switch
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
108 the effective format to '%g' in the following circumstances:
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
109
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
110 * the value of an integer type (int8, uint32, etc.) value exceeds
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
111 the maximum for the format specifier. For '%d', the limit is
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
112 intmax ('int64') and for '%u' it is intmax ('uint64').
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
113
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
114 * round(x) != x or the value is outside the range allowed by the
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
115 integer format specifier.
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
116
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
117 There is still one difference: Matlab switches to '%e' and Octave
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
118 is currently switching to '%g'.
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
119
19292
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
120 ** The archive family of functions (bzip2, gzip, zip, tar) and their
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
121 unpacking routines (bunzip2, gunzip, unzip, untar, unpack) have
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
122 been recoded. Excepting unpack, the default is now to place files
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
123 in the same directory as the archive (on unpack) or as the original
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
124 files (on archiving).
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
125
18842
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
126 ** Z-order stacking issues with patches, grid lines, and line object
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
127 plot markers for on screen display and printing have all been resolved.
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
128 For 2-D plots the axis grid lines can be placed on top of the plot
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
129 with set (gca, "layer", "top").
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
130
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
131 ** The patch graphic object has been overhauled. It now produces visual
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
132 results equivalent to Matlab even for esoteric combinations of
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
133 faces/vertices/cdata.
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
134
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
135 ** The polar() plot function now draws a circular theta axis and
18842
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
136 radial rho axis rather than using a rectangular x/y axis.
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
137
18757
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
138 ** linkprop has been completely re-coded for performance and Matlab
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
139 compatibility. It now returns a linkprop object which must be stored
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
140 in a variable for as long as the graphic objects should remain linked.
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
141 To unlink properties use 'clear hlink' where hlink is the variable
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
142 containing the linkprop object.
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
143
19085
3d0f4f4ec688 NEWS: note that isprime now accepts negative and complex inputs.
Rik <rik@octave.org>
parents: 19069
diff changeset
144 ** isprime has been extended to operate on negative and complex inputs.
3d0f4f4ec688 NEWS: note that isprime now accepts negative and complex inputs.
Rik <rik@octave.org>
parents: 19069
diff changeset
145
19223
d70b1cec7743 NEWS: Announce addition of XOR reduction to xor function.
Rik <rik@octave.org>
parents: 19201
diff changeset
146 ** xor has been extended to accept more than two arguments in which case
d70b1cec7743 NEWS: Announce addition of XOR reduction to xor function.
Rik <rik@octave.org>
parents: 19201
diff changeset
147 it performs cumulative XOR reduction.
d70b1cec7743 NEWS: Announce addition of XOR reduction to xor function.
Rik <rik@octave.org>
parents: 19201
diff changeset
148
19198
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
149 ** The following functions now support N-dimensional arrays:
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
150
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
151 fliplr flipud rot90
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
152
19064
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18945
diff changeset
153 ** The new warning ID "Octave:data-file-in-path" replaces the three
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18945
diff changeset
154 previous separate warning IDs "Octave:fopen-file-in-path",
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18945
diff changeset
155 "Octave:load-file-in-path", and "Octave:md5sum-file-in-path".
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18945
diff changeset
156
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
157 ** Other new functions added in 4.0:
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
158
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
159 bandwidth
19564
5ab6fcf32d1e New function for colormap cubehelix.
Carnë Draug <carandraug@octave.org>
parents: 19554
diff changeset
160 cubehelix
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
161 dir_in_loadpath
19160
995df67fc912 Flip arrays - ND support for fliplr and flipud, and replace flipdim with flip.
Carnë Draug <carandraug+dev@gmail.com>
parents: 19156
diff changeset
162 flip
19346
39a69f54417e New functions im2frame and frame2im.
Carnë Draug <carandraug@octave.org>
parents: 19328
diff changeset
163 frame2im
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
164 hgload
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
165 hgsave
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
166 ichol
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
167 ilu
19346
39a69f54417e New functions im2frame and frame2im.
Carnë Draug <carandraug@octave.org>
parents: 19328
diff changeset
168 im2frame
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
169 isbanded
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
170 isdiag
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
171 istril
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
172 istriu
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
173 javachk
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
174 linkaxes
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
175 lscov
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
176 numfields
19388
cc6000ccd627 New function qmr (patch #8569).
Nathan Podlich <nathan.podlich@gmail.com>
parents: 19346
diff changeset
177 qmr
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
178 rotate
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
179 sylvester
19201
6f0290863d50 Add new function unsetenv from gnulib to Octave.
Rik <rik@octave.org>
parents: 19198
diff changeset
180 unsetenv
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
181 validateattributes
19123
8a6f87637c16 hg new function, zoom
John W. Eaton <jwe@octave.org>
parents: 19115
diff changeset
182 zoom
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
183
19156
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
184 ** inline() scheduled for eventual deprecation by Matlab
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
185
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
186 Functions created through the use of inline are scheduled for deprecation
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
187 by Matlab. When this occurs Octave will continue to support inline
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
188 functions for an indeterminate amount of time before also removing support.
19631
db92e7e28e1f strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 19630
diff changeset
189 All new code should use anonymous functions in place of inline functions.
19156
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
190
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
191 ** Deprecated functions.
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
192
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
193 The following functions have been deprecated in Octave 4.0 and will
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
194 be removed from Octave 4.4 (or whatever version is the second major
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
195 release after 4.0):
18538
fcd87f68af4f Deprecate nfields and replace with numfields.
Rik <rik@octave.org>
parents: 18131
diff changeset
196
19302
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
197 Function | Replacement
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
198 ---------------------|------------------
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
199 bicubic | interp2
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
200 delaunay3 | delaunay
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
201 dump_prefs | individual preference get/set routines
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
202 find_dir_in_path | dir_in_loadpath
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
203 finite | isfinite
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
204 fmod | rem
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
205 fnmatch | glob or regexp
19681
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19679
diff changeset
206 loadaudio | audioread
19302
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
207 luinc | ilu or ichol
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
208 nfields | numfields
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
209 octave_tmp_file_name | tempname
19681
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19679
diff changeset
210 playaudio | audioplayer
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19679
diff changeset
211 saveaudio | audiowrite
19302
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
212 syl | sylvester
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
213 usage | print_usage
18538
fcd87f68af4f Deprecate nfields and replace with numfields.
Rik <rik@octave.org>
parents: 18131
diff changeset
214
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
215 allow_noninteger_range_as_index
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
216 do_braindead_shortcircuit_evaluation
19681
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19679
diff changeset
217 setaudio
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
218
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
219 ** The following functions were deprecated in Octave 3.8 and will be
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
220 removed from Octave 4.2 (or whatever version is the second major
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
221 release after 3.8):
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
222
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
223 default_save_options java_new
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
224 gen_doc_cache java_unsigned_conversion
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
225 interp1q javafields
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
226 isequalwithequalnans javamethods
18945
d1c649bd90e9 maint: Periodic merge of gui-release to default.
Rik <rik@octave.org>
parents: 18938 18944
diff changeset
227 java_convert_matrix re_read_readline_init_file
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
228 java_debug read_readline_init_file
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
229 java_invoke saving_history
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
230
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
231 ** The following functions were deprecated in Octave 3.6 and have been
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
232 removed from Octave 4.0.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
233
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
234 cut polyderiv
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
235 cor shell_cmd
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
236 corrcoef studentize
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
237 __error_text__ sylvester_matrix
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
238 error_text
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
239
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
240 ** The following keywords were deprecated in Octave 3.8 and have been
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
241 removed from Octave 4.0
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
242
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
243 static
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
244
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
245 ** The following configuration variables were deprecated in Octave 3.8
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
246 and have been removed from Octave 4.0
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
247
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
248 CC_VERSION (now GCC_VERSION)
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
249 CXX_VERSION (now GXX_VERSION)
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
250
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
251 ** The internal function atan2 of the sparse matrix class has been deprecated
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
252 in Octave 4.0 and will be removed from Octave 4.4 (or whatever version is
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
253 the second major release after 4.0). Use the Fatan2 function with sparse
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
254 inputs as a replacement.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
255
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
256 ** The internal class <Octave_map> was deprecated in Octave 3.8 and has
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
257 been removed from Octave 4.0. Replacement classes are
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
258 <octave_map> (struct array) or <octave_scalar_map> for a single structure.
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
259
19442
a0c7001cf1a8 consistent messages and IDs for singular matrix warnings
John W. Eaton <jwe@octave.org>
parents: 19432
diff changeset
260 ** The warning ID Octave:singular-matrix-div has been replaced by
a0c7001cf1a8 consistent messages and IDs for singular matrix warnings
John W. Eaton <jwe@octave.org>
parents: 19432
diff changeset
261 Octave:nearly-singular-matrix and Octave:singular-matrix.
a0c7001cf1a8 consistent messages and IDs for singular matrix warnings
John W. Eaton <jwe@octave.org>
parents: 19432
diff changeset
262
19632
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
263 ** The configure option --enable-octave-allocator has been removed.
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
264 The internal class <octave_allocator> declared in oct-alloc.h has
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
265 been removed. The header remains, but is deprecated. The macros to
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
266 access the class (DECLARE_OCTAVE_ALLOCATOR, DEFINE_OCTAVE_ALLOCATOR,
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
267 and DEFINE_OCTAVE_ALLOCATOR2) are now unconditionally defined to be
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
268 empty.
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
269
19741
59ad278cfb98 __opengl_print__.m: Use OSMesa for offscreen rendering (Bug #33180)
Andreas Weber <andy.weber.aw@gmail.com>
parents: 19738
diff changeset
270 ** Qt and FLTK graphics toolkit now support offscreen rendering,
59ad278cfb98 __opengl_print__.m: Use OSMesa for offscreen rendering (Bug #33180)
Andreas Weber <andy.weber.aw@gmail.com>
parents: 19738
diff changeset
271 i.e., print will work when figure visibility is off.
59ad278cfb98 __opengl_print__.m: Use OSMesa for offscreen rendering (Bug #33180)
Andreas Weber <andy.weber.aw@gmail.com>
parents: 19738
diff changeset
272
9352
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
273 ---------------------------------------------------------
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
274
7990
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
275 See NEWS.3 for old news.