Mercurial > octave-nkf
annotate NEWS @ 19822:511b3ae4872b
nextpow2: compute for each element of input instead of its length (bug #44291)
* general/nextpow2.m: when input is not a scalar, nextpow2() was using
length(x). Not only is this Matlab incompatible, it is also not very
useful in the light of nd signals where input will be the length of each
dimension. It would also break very bad when the user wants to pass a
vector that has length 1 in which case it would use the first element of
the vector. This commit changes it so that it computes nextpow2 for each
element of the input. When the previous behaviour is intended,
`nextpow2 (length (x))' should be used.
* NEWS: make note of this backwards incompatible change.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Wed, 18 Feb 2015 17:27:06 +0000 |
parents | 47440b762547 |
children | 81078b0e39e8 |
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 | 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 |
19822
511b3ae4872b
nextpow2: compute for each element of input instead of its length (bug #44291)
Carnë Draug <carandraug@octave.org>
parents:
19794
diff
changeset
|
47 ** The nextpow2 function behaviour has been changed for vector inputs. |
511b3ae4872b
nextpow2: compute for each element of input instead of its length (bug #44291)
Carnë Draug <carandraug@octave.org>
parents:
19794
diff
changeset
|
48 Instead of computing `nextpow2 (length (x))', it will now compute |
511b3ae4872b
nextpow2: compute for each element of input instead of its length (bug #44291)
Carnë Draug <carandraug@octave.org>
parents:
19794
diff
changeset
|
49 nextpow2() for each element of the input. Not only is this change |
511b3ae4872b
nextpow2: compute for each element of input instead of its length (bug #44291)
Carnë Draug <carandraug@octave.org>
parents:
19794
diff
changeset
|
50 Matlab compatible, it also prevents bugs for "vectors" of length 1. |
511b3ae4872b
nextpow2: compute for each element of input instead of its length (bug #44291)
Carnë Draug <carandraug@octave.org>
parents:
19794
diff
changeset
|
51 |
19679
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
52 ** The preference |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
53 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
54 do_braindead_shortcircuit_evaluation |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
55 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
56 is now enabled by default. |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
57 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
58 ** The preference |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
59 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
60 allow_noninteger_range_as_index |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
61 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
62 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
|
63 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
64 Octave:noninteger-range-as-index |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
65 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
66 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
|
67 for --traditional. |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
68 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
69 ** 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
|
70 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
|
71 compatibility. |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
72 |
18640
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18614
diff
changeset
|
73 ** Interpolation function changes for Matlab compatibility |
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18614
diff
changeset
|
74 |
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18614
diff
changeset
|
75 The interpolation method 'cubic' is now equivalent to 'pchip' |
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18614
diff
changeset
|
76 for interp1, interp2, and interp3. Previously, 'cubic' was equivalent |
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18614
diff
changeset
|
77 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
|
78 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
|
79 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
|
80 interp1 for compatibility. |
18640
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18614
diff
changeset
|
81 |
19198
ba167badef9f
Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents:
19189
diff
changeset
|
82 ** 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
|
83 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
|
84 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
|
85 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
|
86 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
|
87 |
19276
ba7e42dea4b2
Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents:
19230
diff
changeset
|
88 ** 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
|
89 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
|
90 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
|
91 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
|
92 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
|
93 numerical analysis software packages. |
ba7e42dea4b2
Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents:
19230
diff
changeset
|
94 |
19764
554aaaf99644
Fix return phase of acosh to match Matlab (bug #44286).
Rik <rik@octave.org>
parents:
19741
diff
changeset
|
95 ** 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
|
96 [-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
|
97 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
|
98 |
19420
f054112912df
Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents:
19388
diff
changeset
|
99 ** 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
|
100 |
f054112912df
Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents:
19388
diff
changeset
|
101 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
|
102 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
|
103 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
|
104 |
f054112912df
Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents:
19388
diff
changeset
|
105 NEW |
f054112912df
Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents:
19388
diff
changeset
|
106 strfind ("abc", "") => [] |
f054112912df
Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents:
19388
diff
changeset
|
107 OLD |
f054112912df
Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents:
19388
diff
changeset
|
108 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
|
109 |
18686
3647db1a37d7
NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents:
18683
diff
changeset
|
110 ** 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
|
111 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
|
112 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
|
113 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
|
114 |
3647db1a37d7
NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents:
18683
diff
changeset
|
115 * 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
|
116 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
|
117 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
|
118 |
3647db1a37d7
NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents:
18683
diff
changeset
|
119 * 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
|
120 integer format specifier. |
3647db1a37d7
NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents:
18683
diff
changeset
|
121 |
3647db1a37d7
NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents:
18683
diff
changeset
|
122 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
|
123 is currently switching to '%g'. |
3647db1a37d7
NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents:
18683
diff
changeset
|
124 |
19292
a4e993343e93
Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents:
19276
diff
changeset
|
125 ** 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
|
126 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
|
127 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
|
128 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
|
129 files (on archiving). |
a4e993343e93
Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents:
19276
diff
changeset
|
130 |
18842
7c6ee4bd7719
NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents:
18827
diff
changeset
|
131 ** 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
|
132 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
|
133 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
|
134 with set (gca, "layer", "top"). |
7c6ee4bd7719
NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents:
18827
diff
changeset
|
135 |
7c6ee4bd7719
NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents:
18827
diff
changeset
|
136 ** 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
|
137 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
|
138 faces/vertices/cdata. |
7c6ee4bd7719
NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents:
18827
diff
changeset
|
139 |
19115 | 140 ** 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
|
141 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
|
142 |
18757
e68788478aa1
linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents:
18755
diff
changeset
|
143 ** 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
|
144 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
|
145 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
|
146 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
|
147 containing the linkprop object. |
e68788478aa1
linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents:
18755
diff
changeset
|
148 |
19085
3d0f4f4ec688
NEWS: note that isprime now accepts negative and complex inputs.
Rik <rik@octave.org>
parents:
19069
diff
changeset
|
149 ** 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
|
150 |
19223
d70b1cec7743
NEWS: Announce addition of XOR reduction to xor function.
Rik <rik@octave.org>
parents:
19201
diff
changeset
|
151 ** 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
|
152 it performs cumulative XOR reduction. |
d70b1cec7743
NEWS: Announce addition of XOR reduction to xor function.
Rik <rik@octave.org>
parents:
19201
diff
changeset
|
153 |
19198
ba167badef9f
Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents:
19189
diff
changeset
|
154 ** 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
|
155 |
ba167badef9f
Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents:
19189
diff
changeset
|
156 fliplr flipud rot90 |
ba167badef9f
Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents:
19189
diff
changeset
|
157 |
19064
9ef10e6a5987
make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents:
18945
diff
changeset
|
158 ** 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
|
159 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
|
160 "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
|
161 |
19679
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
162 ** 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
|
163 |
19775
b8e4104a8f55
Add the annotation function (bug #43282)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
19764
diff
changeset
|
164 annotation |
19115 | 165 bandwidth |
19564
5ab6fcf32d1e
New function for colormap cubehelix.
Carnë Draug <carandraug@octave.org>
parents:
19554
diff
changeset
|
166 cubehelix |
19115 | 167 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
|
168 flip |
19346
39a69f54417e
New functions im2frame and frame2im.
Carnë Draug <carandraug@octave.org>
parents:
19328
diff
changeset
|
169 frame2im |
19115 | 170 hgload |
171 hgsave | |
172 ichol | |
173 ilu | |
19346
39a69f54417e
New functions im2frame and frame2im.
Carnë Draug <carandraug@octave.org>
parents:
19328
diff
changeset
|
174 im2frame |
19115 | 175 isbanded |
176 isdiag | |
177 istril | |
178 istriu | |
179 javachk | |
180 linkaxes | |
181 lscov | |
182 numfields | |
19781
56157a7505ed
Add new ordschur function.
Sébastien Villemot <sebastien@debian.org>
parents:
19775
diff
changeset
|
183 ordschur |
19388
cc6000ccd627
New function qmr (patch #8569).
Nathan Podlich <nathan.podlich@gmail.com>
parents:
19346
diff
changeset
|
184 qmr |
19115 | 185 rotate |
186 sylvester | |
19201
6f0290863d50
Add new function unsetenv from gnulib to Octave.
Rik <rik@octave.org>
parents:
19198
diff
changeset
|
187 unsetenv |
19679
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
188 validateattributes |
19123 | 189 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
|
190 |
19156
c43223245085
doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents:
19153
diff
changeset
|
191 ** 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
|
192 |
c43223245085
doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents:
19153
diff
changeset
|
193 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
|
194 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
|
195 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
|
196 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
|
197 |
18109
2217bc116aa9
maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
18107
diff
changeset
|
198 ** 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
|
199 |
19679
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
200 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
|
201 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
|
202 release after 4.0): |
18538
fcd87f68af4f
Deprecate nfields and replace with numfields.
Rik <rik@octave.org>
parents:
18131
diff
changeset
|
203 |
19302 | 204 Function | Replacement |
205 ---------------------|------------------ | |
206 bicubic | interp2 | |
207 delaunay3 | delaunay | |
208 dump_prefs | individual preference get/set routines | |
209 find_dir_in_path | dir_in_loadpath | |
210 finite | isfinite | |
211 fmod | rem | |
212 fnmatch | glob or regexp | |
19681
0165d9607624
Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents:
19679
diff
changeset
|
213 loadaudio | audioread |
19302 | 214 luinc | ilu or ichol |
19794
47440b762547
bring back mouse_wheel_zoom function as deprecated
John W. Eaton <jwe@octave.org>
parents:
19781
diff
changeset
|
215 mouse_wheel_zoom | mousewheelzoom axes property |
19302 | 216 nfields | numfields |
217 octave_tmp_file_name | tempname | |
19681
0165d9607624
Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents:
19679
diff
changeset
|
218 playaudio | audioplayer |
0165d9607624
Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents:
19679
diff
changeset
|
219 saveaudio | audiowrite |
19302 | 220 syl | sylvester |
221 usage | print_usage | |
18538
fcd87f68af4f
Deprecate nfields and replace with numfields.
Rik <rik@octave.org>
parents:
18131
diff
changeset
|
222 |
19679
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
223 allow_noninteger_range_as_index |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
224 do_braindead_shortcircuit_evaluation |
19681
0165d9607624
Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents:
19679
diff
changeset
|
225 setaudio |
19679
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
226 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
227 ** 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
|
228 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
|
229 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
|
230 |
19115 | 231 default_save_options java_new |
232 gen_doc_cache java_unsigned_conversion | |
233 interp1q javafields | |
234 isequalwithequalnans javamethods | |
18945 | 235 java_convert_matrix re_read_readline_init_file |
19115 | 236 java_debug read_readline_init_file |
237 java_invoke saving_history | |
238 | |
19679
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
239 ** 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
|
240 removed from Octave 4.0. |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
241 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
242 cut polyderiv |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
243 cor shell_cmd |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
244 corrcoef studentize |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
245 __error_text__ sylvester_matrix |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
246 error_text |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
247 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
248 ** 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
|
249 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
|
250 |
2217bc116aa9
maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
18107
diff
changeset
|
251 static |
2217bc116aa9
maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
18107
diff
changeset
|
252 |
19679
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
253 ** 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
|
254 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
|
255 |
2217bc116aa9
maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
18107
diff
changeset
|
256 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
|
257 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
|
258 |
19679
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
259 ** 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
|
260 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
|
261 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
|
262 inputs as a replacement. |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
263 |
ebd27d8c63fd
update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents:
19632
diff
changeset
|
264 ** 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
|
265 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
|
266 <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
|
267 |
19442
a0c7001cf1a8
consistent messages and IDs for singular matrix warnings
John W. Eaton <jwe@octave.org>
parents:
19432
diff
changeset
|
268 ** 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
|
269 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
|
270 |
19632
76478d2da117
unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents:
19631
diff
changeset
|
271 ** 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
|
272 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
|
273 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
|
274 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
|
275 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
|
276 empty. |
76478d2da117
unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents:
19631
diff
changeset
|
277 |
19741
59ad278cfb98
__opengl_print__.m: Use OSMesa for offscreen rendering (Bug #33180)
Andreas Weber <andy.weber.aw@gmail.com>
parents:
19738
diff
changeset
|
278 ** 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
|
279 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
|
280 |
9352 | 281 --------------------------------------------------------- |
282 | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
283 See NEWS.3 for old news. |