Mercurial > jwe > octave
annotate NEWS @ 25742:8eec0403a370
fminsearch.m: Update default TolFun to 1e-4 for Matlab compatibility.
* NEWS: Announce change in the default value of TolFun.
* fminsearch.m: Redo parts of docstring to be clearer. Change default TolFun
value to 1e-4. Change reported optimset defaults for MaxFunEvals and MaxIter
to [] rather than 400. Change optional output messages to be clearer.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 03 Aug 2018 14:46:08 -0700 |
parents | 8cdaef4c6d44 |
children | b1e0e58971f9 |
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 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
4 ** 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
|
5 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
|
6 of a matrix. Performance has also been increased. |
24691
b658e0fa0cb3
maint: Remove trailing whitespace from files.
Rik <rik@octave.org>
parents:
24664
diff
changeset
|
7 |
25484
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
8 ** 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
|
9 "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
|
10 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
|
11 existing code to the new options. |
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
12 |
25701
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
13 ** 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
|
14 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
|
15 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
|
16 common sense and is Matlab compatible. Example: |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
17 |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
18 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
|
19 Previously : strncmp ("abc", "abc", 100) => false |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
20 |
25741
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
21 ** 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:
25737
diff
changeset
|
22 calculating the Jacobian of a function with finite differences. |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
23 This leads to faster convergence. The default solver options have |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
24 also changed to be Matlab compatible. This *may* result in existing |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
25 code producing different results. |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
26 |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
27 Option | New Default | Old Default |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
28 ------------------------------------------------ |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
29 FinDiffType | "forward" | "central" |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
30 MaxFunEvals | 100*length(x0) | Inf |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
31 TolFun | 1e-6 | 1e-7 |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
32 TolX | 1e-6 | 1e-7 |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
33 Updating | "off" | "on" |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25737
diff
changeset
|
34 |
25742
8eec0403a370
fminsearch.m: Update default TolFun to 1e-4 for Matlab compatibility.
Rik <rik@octave.org>
parents:
25741
diff
changeset
|
35 ** The fminsearch function has changed default TolFun accuracy to 1e-4 |
8eec0403a370
fminsearch.m: Update default TolFun to 1e-4 for Matlab compatibility.
Rik <rik@octave.org>
parents:
25741
diff
changeset
|
36 from 1e-7. This change was made for Matlab compatibility, but may |
8eec0403a370
fminsearch.m: Update default TolFun to 1e-4 for Matlab compatibility.
Rik <rik@octave.org>
parents:
25741
diff
changeset
|
37 result in different results from existing code. |
8eec0403a370
fminsearch.m: Update default TolFun to 1e-4 for Matlab compatibility.
Rik <rik@octave.org>
parents:
25741
diff
changeset
|
38 |
25273
ac6ba9f2fa41
Add new Figure graphic property "Number" (bug #53343).
Rik <rik@octave.org>
parents:
25259
diff
changeset
|
39 ** 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
|
40 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
|
41 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
|
42 the property will return an empty matrix ([]). |
22586
d0e972e74851
maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents:
22573
diff
changeset
|
43 |
25627
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
44 ** Printing using the -dtiff output device will now create compressed |
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
45 images using lzw compression. This change was made for Matlab |
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
46 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
|
47 device. |
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
48 |
25589
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
49 ** The FFTW library is now required to perform FFT calculations. The |
25586 | 50 FFTPACK sources have been removed from Octave. |
51 | |
25589
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
52 ** 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
|
53 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
|
54 available and you must use the qt graphics toolkit. |
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
55 |
25737
c7095a755185
New function "ordeig" (patch #9670)
Sébastien Villemot <sebastien@debian.org>
parents:
25701
diff
changeset
|
56 ** New functions added in 5.0: |
c7095a755185
New function "ordeig" (patch #9670)
Sébastien Villemot <sebastien@debian.org>
parents:
25701
diff
changeset
|
57 |
c7095a755185
New function "ordeig" (patch #9670)
Sébastien Villemot <sebastien@debian.org>
parents:
25701
diff
changeset
|
58 ordeig |
c7095a755185
New function "ordeig" (patch #9670)
Sébastien Villemot <sebastien@debian.org>
parents:
25701
diff
changeset
|
59 |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
60 ** Deprecated functions. |
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
61 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
62 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
|
63 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
|
64 release after 5.0): |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
65 |
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
66 Function | Replacement |
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
67 ---------------------|------------------ |
25259
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
68 | |
24867
b2b1ada9a7f1
* NEWS: Update for 4.2.2 release.
John W. Eaton <jwe@octave.org>
parents:
23222
diff
changeset
|
69 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
70 ** 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
|
71 removed from Octave 5.0. |
20484 | 72 |
73 Function | Replacement | |
74 ---------------------|------------------ | |
20486 | 75 bitmax | flintmax |
20502 | 76 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
|
77 md5sum | hash |
23138 | 78 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
|
79 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
|
80 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
|
81 usleep | pause |
20484 | 82 wavread | audioread |
83 wavwrite | audiowrite | |
84 | |
23569
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
85 ** 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
|
86 |
23569
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
87 The following properties or allowed corresponding values have been |
25259
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
88 deprecated in Octave 5.0 and will be removed from Octave 7 (or whatever |
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
89 version is the second major release after 5.0): |
18606
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18580
diff
changeset
|
90 |
23569
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
91 Object | Property | Value |
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
92 ---------------------|-------------------------|------------------- |
25259
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
93 | | |
19974
72ccbd36e23c
Return a column vector by default for Matlab compatibility (bug #44425, bug #44453).
Rik <rik@octave.org>
parents:
19965
diff
changeset
|
94 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
95 ** 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
|
96 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
|
97 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
98 Object | Property | Value |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
99 ---------------------|-------------------------|------------------- |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
100 axes | xaxislocation | "zero" |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
101 | yaxislocation | "zero" |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
102 patch | normalmode | |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
103 surface | normalmode | |
19965
d20dd211cc89
Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents:
19958
diff
changeset
|
104 |
9352 | 105 --------------------------------------------------------- |
106 | |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
107 See NEWS.4 for old news. |