Mercurial > octave
annotate NEWS @ 26126:f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
* NEWS: Announce change to intmin, intmax, flintmax to accept a variable as
input.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 22 Nov 2018 13:11:40 -0800 |
parents | df1cf0f7883a |
children | 1ae11ca7dceb |
rev | line source |
---|---|
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
1 Summary of important user-visible changes for version 5.0 (yyyy-mm-dd): |
23277
df0fb2cb820b
add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents:
23273
diff
changeset
|
2 ---------------------------------------------------------------------- |
22586
d0e972e74851
maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents:
22573
diff
changeset
|
3 |
25917
ba937c3dce82
Determine an object's shape by "size" (bug #51308, bug #44498, bug #43925).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
25867
diff
changeset
|
4 ** The determination of an object's dimensions, size, and shape by the |
ba937c3dce82
Determine an object's shape by "size" (bug #51308, bug #44498, bug #43925).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
25867
diff
changeset
|
5 functions ndims, rows, columns, isscalar, isvector, isrow, iscolumn, |
25979
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
6 ismatrix, and issquare now fully depends on the function size. |
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
7 Thus, any user-defined object can ensure correct treatment by the |
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
8 aforementioned functions by properly overloading the "size" |
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
9 function. |
25917
ba937c3dce82
Determine an object's shape by "size" (bug #51308, bug #44498, bug #43925).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
25867
diff
changeset
|
10 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
11 ** The functions issymmetric and ishermitian accept an option "nonskew" |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
12 or "skew" to calculate the symmetric or skew-symmetric property |
25259
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
13 of a matrix. Performance has also been increased. |
25091
2b8442c890d8
Fix locked GUI panels for Qt 5.6.1 through 5.7.0 series versions (bug #53409)
Daniel J Sebald <daniel.sebald@ieee.org>
parents:
25041
diff
changeset
|
14 |
25484
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
15 ** The issorted function now uses a direction option of "ascend" or |
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
16 "descend" to make it compatible with both the sort function and |
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
17 with Matlab. Change all uses of "ascending" and "descending" in |
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
18 existing code to the new options. |
23356
ef20eee0247d
allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents:
23348
diff
changeset
|
19 |
25698
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
20 ** The strncmp and strncmpi functions now return true if the two input |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
21 strings match, even though the number of characters specified by N |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
22 exceeds the string length. This behavior more closely matches |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
23 common sense and is Matlab compatible. Example: |
24927
c280560d9c96
Overhaul special functions modified by GSOC2018 project.
Rik <rik@octave.org>
parents:
24909
diff
changeset
|
24 |
25698
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
25 Octave 5.0 : strncmp ("abc", "abc", 100) => true |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
26 Previously : strncmp ("abc", "abc", 100) => false |
24098
71dad5be765a
quadcc.cc: Use an Absolute Tolerance, as well as RelTol (Bug #46349).
Rik <rik@octave.org>
parents:
24055
diff
changeset
|
27 |
26126
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
28 ** The intmax, intmin, and flintmax functions now accept a variable |
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
29 as input. This supports a common programming usage which is to |
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
30 query the range of an existing variable. Existing code can be |
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
31 simplified by removing the call to "class" that was previously |
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
32 required. Example: |
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
33 |
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
34 x = int8 (3); |
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
35 Octave 5.0 : range = [ intmin(x), intmax(x) ] |
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
36 Previously : range = [ intmin(class(x)), intmax(class(x)) ] |
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
37 |
26077
31b443b5a6c1
ranks.m: Overhaul function for performance (25X) and addition of tie-breaking (bug #36372).
Dave Goel <deego3@gmail.com>
parents:
26059
diff
changeset
|
38 ** The ranks function has been recoded for performance and is now 25X |
31b443b5a6c1
ranks.m: Overhaul function for performance (25X) and addition of tie-breaking (bug #36372).
Dave Goel <deego3@gmail.com>
parents:
26059
diff
changeset
|
39 faster. In addition, it now supports a third argument that |
31b443b5a6c1
ranks.m: Overhaul function for performance (25X) and addition of tie-breaking (bug #36372).
Dave Goel <deego3@gmail.com>
parents:
26059
diff
changeset
|
40 specifies how to resolve the ranking of tie values. |
31b443b5a6c1
ranks.m: Overhaul function for performance (25X) and addition of tie-breaking (bug #36372).
Dave Goel <deego3@gmail.com>
parents:
26059
diff
changeset
|
41 |
25738
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
42 ** The fsolve function has been tweaked to use larger step sizes when |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
43 calculating the Jacobian of a function with finite differences. |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
44 This leads to faster convergence. The default solver options have |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
45 also changed to be Matlab compatible. This *may* result in existing |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
46 code producing different results. |
24524
a56d283ff18a
Honor "interruptible" for property listeners (bug #52804).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
24523
diff
changeset
|
47 |
25738
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
48 Option | New Default | Old Default |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
49 ------------------------------------------------ |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
50 FinDiffType | "forward" | "central" |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
51 MaxFunEvals | 100*length(x0) | Inf |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
52 TolFun | 1e-6 | 1e-7 |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
53 TolX | 1e-6 | 1e-7 |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
54 Updating | "off" | "on" |
24184
7dd3ab97ccd5
NEWS: Note that initial implementation of alpha transparency exists.
Rik <rik@octave.org>
parents:
24173
diff
changeset
|
55 |
25740
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
56 ** The fminsearch function has changed default solver options for |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
57 Matlab compatibility. The accuracy option TolFun is now 1e-4 rather |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
58 than 1e-7. This *may* result in existing code producing different |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
59 results. |
24691
b658e0fa0cb3
maint: Remove trailing whitespace from files.
Rik <rik@octave.org>
parents:
24664
diff
changeset
|
60 |
25740
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
61 ** The fminbnd function has changed defaults for Matlab compatibility. |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
62 This *may* result in existing code producing different results. |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
63 |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
64 Option | New Default | Old Default |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
65 ------------------------------------------------ |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
66 MaxFunEvals | 500 | Inf |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
67 MaxIter | 500 | Inf |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
68 TolX | 1e-4 | 1e-8 |
25739
8eec0403a370
fminsearch.m: Update default TolFun to 1e-4 for Matlab compatibility.
Rik <rik@octave.org>
parents:
25738
diff
changeset
|
69 |
25273
ac6ba9f2fa41
Add new Figure graphic property "Number" (bug #53343).
Rik <rik@octave.org>
parents:
25259
diff
changeset
|
70 ** Figure graphic objects have a new property "Number" which is |
ac6ba9f2fa41
Add new Figure graphic property "Number" (bug #53343).
Rik <rik@octave.org>
parents:
25259
diff
changeset
|
71 read-only and will return the handle (number) of the figure. |
ac6ba9f2fa41
Add new Figure graphic property "Number" (bug #53343).
Rik <rik@octave.org>
parents:
25259
diff
changeset
|
72 However, if the property "IntegerHandle" has been set to "off" then |
ac6ba9f2fa41
Add new Figure graphic property "Number" (bug #53343).
Rik <rik@octave.org>
parents:
25259
diff
changeset
|
73 the property will return an empty matrix ([]). |
22586
d0e972e74851
maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents:
22573
diff
changeset
|
74 |
25979
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
75 ** Patch and surface graphic objects now use the "FaceNormals" property |
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
76 for flat lighting. |
25867
49ffa78f9243
Use "facenormals" for flat lighting on surfaces (bug #54024).
Markus Mützel <markus.muetzel@gmx.de>
parents:
25837
diff
changeset
|
77 |
26018
50583f514ae4
Add function to manually trigger calculation of [Vertex|Face]Normals (bug #54922).
Markus Mützel <markus.muetzel@gmx.de>
parents:
26012
diff
changeset
|
78 ** "FaceNormals" and "VertexNormals" for patch and surface graphic |
26019 | 79 objects are now calculated only when necessary to improve graphics |
80 performance. In order for any normals to be calculated the | |
26018
50583f514ae4
Add function to manually trigger calculation of [Vertex|Face]Normals (bug #54922).
Markus Mützel <markus.muetzel@gmx.de>
parents:
26012
diff
changeset
|
81 "FaceLighting" property must be set to "flat" (FaceNormals) or |
50583f514ae4
Add function to manually trigger calculation of [Vertex|Face]Normals (bug #54922).
Markus Mützel <markus.muetzel@gmx.de>
parents:
26012
diff
changeset
|
82 "gouraud" (VertexNormals), AND a light object must be present in the |
26019 | 83 axes. |
25867
49ffa78f9243
Use "facenormals" for flat lighting on surfaces (bug #54024).
Markus Mützel <markus.muetzel@gmx.de>
parents:
25837
diff
changeset
|
84 |
26103
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
85 ** Printing to raster formats (bitmaps like PNG or JPEG) now uses an |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
86 OpenGL-based method by default. The print options "-opengl" |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
87 (raster) and "-painters" (vector) have been added ("qt" toolkit |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
88 only). The figure property "renderer" specifies which renderer to |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
89 use. When the property "renderermode" is "auto" Octave will select |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
90 -opengl for a raster output format and -painters for a vector output |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
91 format. |
25998
8d2b3e3ff182
print.m: Implement "-opengl", "-painters" and "-RGBImage" options (bug #52866)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
25979
diff
changeset
|
92 |
26103
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
93 ** A new print option "-RGBImage" has been added which captures the |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
94 pixels of a figure as an image. This is similar to screen capture |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
95 tools, except that print formatting options can be used to, for |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
96 example, change the resolution or display the image in black and |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
97 white. |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
98 |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
99 ** Two new print options for page-based formats (PDF, PostScript) have |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
100 been added. The "-fillpage" option will stretch the plot to occupy |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
101 the entire page with 0.25 inch margins all around. The "-bestfit" |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
102 option will expand the plot to take up as much room as possible on |
9cfbe7688368
Add -fillpage and -bestfit print options (bug #52838).
Jun Wang <jstzwj@aliyun.com>
parents:
26077
diff
changeset
|
103 the page without distorting the original aspect ratio of the plot. |
25998
8d2b3e3ff182
print.m: Implement "-opengl", "-painters" and "-RGBImage" options (bug #52866)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
25979
diff
changeset
|
104 |
25627
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
105 ** Printing using the -dtiff output device will now create compressed |
26019 | 106 images using LZW compression. This change was made for Matlab |
25627
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
107 compatibility. To produce uncompressed images use the -dtiffn |
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
108 device. |
24547
fdc9ce839afd
maint: Remove statistics functions which have been shifted to Octave Forge package.
Rik <rik@octave.org>
parents:
24524
diff
changeset
|
109 |
26122
4d1c6c60f6b3
Clean up implementation of uitable in 36e0e5b428e7.
Rik <rik@octave.org>
parents:
26118
diff
changeset
|
110 ** It is now possible to use files and folders containing Unicode |
4d1c6c60f6b3
Clean up implementation of uitable in 36e0e5b428e7.
Rik <rik@octave.org>
parents:
26118
diff
changeset
|
111 characters in Windows. |
4d1c6c60f6b3
Clean up implementation of uitable in 36e0e5b428e7.
Rik <rik@octave.org>
parents:
26118
diff
changeset
|
112 |
25979
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
113 ** The FFTW library is now required to perform FFT calculations. |
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
114 The FFTPACK sources have been removed from Octave. |
24547
fdc9ce839afd
maint: Remove statistics functions which have been shifted to Octave Forge package.
Rik <rik@octave.org>
parents:
24524
diff
changeset
|
115 |
25589
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
116 ** The OSMesa library is no longer used. To print invisible figures |
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
117 when using OpenGL graphics, the Qt QOFFSCREENSURFACE feature must be |
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
118 available and you must use the qt graphics toolkit. |
24340
2b836112d943
table.m: Rename function to crosstab for Matlab compatibility (bug #52492).
Rik <rik@octave.org>
parents:
24219
diff
changeset
|
119 |
26118
7502fce4cd3a
str2func: eliminate optional second "global" argument
John W. Eaton <jwe@octave.org>
parents:
26112
diff
changeset
|
120 ** The str2func function no longer accepts a second "global" argument. |
7502fce4cd3a
str2func: eliminate optional second "global" argument
John W. Eaton <jwe@octave.org>
parents:
26112
diff
changeset
|
121 This argument was typically used to allow functions that accept |
7502fce4cd3a
str2func: eliminate optional second "global" argument
John W. Eaton <jwe@octave.org>
parents:
26112
diff
changeset
|
122 function names as arguments to avoid conflicts with subfunctions or |
7502fce4cd3a
str2func: eliminate optional second "global" argument
John W. Eaton <jwe@octave.org>
parents:
26112
diff
changeset
|
123 nested functions. Instead, it's best to avoid this situation |
7502fce4cd3a
str2func: eliminate optional second "global" argument
John W. Eaton <jwe@octave.org>
parents:
26112
diff
changeset
|
124 entirely and require users to pass function handles rather than |
7502fce4cd3a
str2func: eliminate optional second "global" argument
John W. Eaton <jwe@octave.org>
parents:
26112
diff
changeset
|
125 function names. |
7502fce4cd3a
str2func: eliminate optional second "global" argument
John W. Eaton <jwe@octave.org>
parents:
26112
diff
changeset
|
126 |
25734
c7095a755185
New function "ordeig" (patch #9670)
Sébastien Villemot <sebastien@debian.org>
parents:
25698
diff
changeset
|
127 ** New functions added in 5.0: |
22586
d0e972e74851
maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents:
22573
diff
changeset
|
128 |
25782
0862570da0ae
isfile.m: New function for Matlab compatibility (bug #54508).
Rik <rik@octave.org>
parents:
25781
diff
changeset
|
129 isfile |
25780
7c5956c45a29
isfolder.m: New function for Matlab compatibility (bug #54456).
Guillaume Flandin <guillaume.offline@gmail.com>
parents:
25764
diff
changeset
|
130 isfolder |
25979
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
131 movegui |
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
132 openfig |
25734
c7095a755185
New function "ordeig" (patch #9670)
Sébastien Villemot <sebastien@debian.org>
parents:
25698
diff
changeset
|
133 ordeig |
25979
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
134 savefig |
26112
36e0e5b428e7
Implement uitable (patch #9084)
Andrew Thornton <art27@cantab.net>
parents:
26103
diff
changeset
|
135 uitable |
22586
d0e972e74851
maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents:
22573
diff
changeset
|
136 |
25756
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
137 ** Legacy functions. |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
138 |
25756
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
139 The following functions have been declared legacy functions which |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
140 means they are obsolete and should not be used in any new code. |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
141 Unlike deprecated functions, however, their removal from Octave has |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
142 not yet been scheduled. |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
143 |
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
144 Function | Replacement |
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
145 ---------------------|------------------ |
25760
2ccad4396afc
findstr.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25759
diff
changeset
|
146 findstr | strfind |
25759
ecdced9fe445
flipdim.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25756
diff
changeset
|
147 flipdim | flip |
25781
e04c56bbbace
isdir.m: Make m-file a legacy function (bug #54489)
Rik <rik@octave.org>
parents:
25780
diff
changeset
|
148 isdir | isfolder or dir_in_loadpath |
25756
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
149 isequalwithequalnans | isequaln |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
150 isstr | ischar |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
151 setstr | char |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
152 strmatch | strncmp or strcmp |
25763
8dc8edbffa17
strread.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25760
diff
changeset
|
153 strread | textscan |
25764
826b45c1c427
textread.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25763
diff
changeset
|
154 textread | textscan |
20157
e410d62ae2c8
maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents:
20154
diff
changeset
|
155 |
20484 | 156 ** Deprecated functions. |
157 | |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
158 The following functions have been deprecated in Octave 5.0 and will |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
159 be removed from Octave 7 (or whatever version is the second major |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
160 release after 5.0): |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
161 |
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
162 Function | Replacement |
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
163 ---------------------|------------------ |
25259
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
164 | |
24867
b2b1ada9a7f1
* NEWS: Update for 4.2.2 release.
John W. Eaton <jwe@octave.org>
parents:
23225
diff
changeset
|
165 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
166 ** The following functions were deprecated in Octave 4.2 and have been |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
167 removed from Octave 5.0. |
20484 | 168 |
169 Function | Replacement | |
170 ---------------------|------------------ | |
20486 | 171 bitmax | flintmax |
25836
07cb3e098c0a
Use "Octave Forge" spelling in all files.
Rik <rik@octave.org>
parents:
25331
diff
changeset
|
172 mahalanobis | mahal in Octave Forge statistics pkg |
20913
69489c064cb7
New function hash to calculate MD{2/4/5} and SHA{1,244,256,384,512} hash values.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
20744
diff
changeset
|
173 md5sum | hash |
23138 | 174 octave_config_info | __octave_config_info__ |
22183
bfb1b089c230
New function normest1 as replacement for onenormest (patch #8837)
Marco Caliari <marco.caliari@univr.it>
parents:
22149
diff
changeset
|
175 onenormest | normest1 |
20923
58263bea2fdf
Unified "sleep" functions to "octave_sleep" in C++ and "pause" in Octave.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
20913
diff
changeset
|
176 sleep | pause |
58263bea2fdf
Unified "sleep" functions to "octave_sleep" in C++ and "pause" in Octave.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
20913
diff
changeset
|
177 usleep | pause |
20484 | 178 wavread | audioread |
179 wavwrite | audiowrite | |
180 | |
23569
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
181 ** Deprecated graphics properties. |
19398
9e5b64b3c1fe
Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents:
19386
diff
changeset
|
182 |
23569
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
183 The following properties or allowed corresponding values have been |
25979
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
184 deprecated in Octave 5.0 and will be removed from Octave 7 (or |
69a160d7ab68
NEWS: Add new functions to list. Wrap lines to 72 characters.
Rik <rik@octave.org>
parents:
25917
diff
changeset
|
185 whatever version is the second major release after 5.0): |
18606
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18580
diff
changeset
|
186 |
23569
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
187 Object | Property | Value |
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
188 ---------------------|-------------------------|------------------- |
26125
df1cf0f7883a
Deprecate "fontangle" property value "oblique" in version 7.
Rik <rik@octave.org>
parents:
26124
diff
changeset
|
189 text | fontangle | "oblique" |
df1cf0f7883a
Deprecate "fontangle" property value "oblique" in version 7.
Rik <rik@octave.org>
parents:
26124
diff
changeset
|
190 uibuttongroup | fontangle | "oblique" |
df1cf0f7883a
Deprecate "fontangle" property value "oblique" in version 7.
Rik <rik@octave.org>
parents:
26124
diff
changeset
|
191 uicontrol | fontangle | "oblique" |
df1cf0f7883a
Deprecate "fontangle" property value "oblique" in version 7.
Rik <rik@octave.org>
parents:
26124
diff
changeset
|
192 uipanel | fontangle | "oblique" |
df1cf0f7883a
Deprecate "fontangle" property value "oblique" in version 7.
Rik <rik@octave.org>
parents:
26124
diff
changeset
|
193 uitable | fontangle | "oblique" |
19974
72ccbd36e23c
Return a column vector by default for Matlab compatibility (bug #44425, bug #44453).
Rik <rik@octave.org>
parents:
19965
diff
changeset
|
194 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
195 ** The following properties or allowed corresponding values were |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
196 deprecated in Octave 4.2 and have been removed from Octave 5.0: |
19122
c43223245085
doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents:
19119
diff
changeset
|
197 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
198 Object | Property | Value |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
199 ---------------------|-------------------------|------------------- |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
200 axes | xaxislocation | "zero" |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
201 | yaxislocation | "zero" |
26124
0623e298891a
Remove "erasemode" graphics property deprecated in 4.2.
Rik <rik@octave.org>
parents:
26122
diff
changeset
|
202 hggroup | erasemode | |
0623e298891a
Remove "erasemode" graphics property deprecated in 4.2.
Rik <rik@octave.org>
parents:
26122
diff
changeset
|
203 image | erasemode | |
0623e298891a
Remove "erasemode" graphics property deprecated in 4.2.
Rik <rik@octave.org>
parents:
26122
diff
changeset
|
204 line | erasemode | |
0623e298891a
Remove "erasemode" graphics property deprecated in 4.2.
Rik <rik@octave.org>
parents:
26122
diff
changeset
|
205 patch | erasemode | |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
206 patch | normalmode | |
26124
0623e298891a
Remove "erasemode" graphics property deprecated in 4.2.
Rik <rik@octave.org>
parents:
26122
diff
changeset
|
207 surface | erasemode | |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
208 surface | normalmode | |
26124
0623e298891a
Remove "erasemode" graphics property deprecated in 4.2.
Rik <rik@octave.org>
parents:
26122
diff
changeset
|
209 text | erasemode | |
19965
d20dd211cc89
Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents:
19958
diff
changeset
|
210 |
26059
da2bbcf1fbcd
Deprecate C++ function is_keyword in favor of iskeyword for readability.
Rik <rik@octave.org>
parents:
26019
diff
changeset
|
211 ** The C++ function is_keyword has been deprecated in favor of |
da2bbcf1fbcd
Deprecate C++ function is_keyword in favor of iskeyword for readability.
Rik <rik@octave.org>
parents:
26019
diff
changeset
|
212 iskeyword. The old function will be removed two versions after 5.0. |
26011
fbc23950b00a
Deprecate C++ is_hghandle in favor of ishghandle for readability.
Rik <rik@octave.org>
parents:
25998
diff
changeset
|
213 |
9352 | 214 --------------------------------------------------------- |
215 | |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
216 See NEWS.4 for old news. |