annotate etc/NEWS.8.md @ 31063:451fb63a10a0

update integral to call quadgk for 'ArrayValued' integrations (bug #62468) * integral.m: Modify integrator selection so that calls with ‘ArrayValued’ go to quadgk instead of quadv. Remove error checks for previously incompatible parameter combinations. Update docstring to remove mention of quadv, point 'ArrayValued' reference to quadgk, change returned error parameter description to match current behavior, and remove parameter incompatibility note. Add BIST to verify combined parameter functionality, and change BISTs checking quadv err parameter. * quadgk.m: Correct parameter name in docstring. * NEWS.8.md: Under General Improvements add note about quadgk now accepting 'ArrayValued' parameter and update integral improvement description of optional returned error parameter. Under Matlab Compatibility add note about integral now accepting all parameter combinations.
author Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
date Thu, 02 Jun 2022 19:56:15 -0400
parents f03e1eebf46d
children 7c5cb8f8a21e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30458
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
1 Summary of important user-visible changes for version 8 (yyyy-mm-dd):
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
2 ---------------------------------------------------------------------
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
3
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
4 ### General improvements
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
5
30550
c24457a42219 maint: merge stable to default.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30466
diff changeset
6 - Octave's libraries are now built using symbol visibility by default.
c24457a42219 maint: merge stable to default.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30466
diff changeset
7 That means that less symbols are exported from these libraries.
c24457a42219 maint: merge stable to default.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30466
diff changeset
8 Configure with `--disable-lib-visibility-flags` to export all symbols
c24457a42219 maint: merge stable to default.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30466
diff changeset
9 (as in previous versions).
c24457a42219 maint: merge stable to default.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30466
diff changeset
10
30978
e8ced722b19e integral: Add optional output error argument (bug #62412)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30958
diff changeset
11 - `integral` can now output a second argument passing the error
31063
451fb63a10a0 update integral to call quadgk for 'ArrayValued' integrations (bug #62468)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31026
diff changeset
12 measurement used by the underlying integrator.
30978
e8ced722b19e integral: Add optional output error argument (bug #62412)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30958
diff changeset
13
31026
f03e1eebf46d perms.m: Add new input option "unique" to return only unique permutations (bug #60364)
Arun Giridhar <arungiridhar@gmail.com>
parents: 31020
diff changeset
14 - `perms` now accepts a second argument "unique" to return only unique
f03e1eebf46d perms.m: Add new input option "unique" to return only unique permutations (bug #60364)
Arun Giridhar <arungiridhar@gmail.com>
parents: 31020
diff changeset
15 permutations for inputs with repeated elements. It is faster and takes
f03e1eebf46d perms.m: Add new input option "unique" to return only unique permutations (bug #60364)
Arun Giridhar <arungiridhar@gmail.com>
parents: 31020
diff changeset
16 less memory to call `perms ('aaaabbbbcccc', "unique")` than to call
f03e1eebf46d perms.m: Add new input option "unique" to return only unique permutations (bug #60364)
Arun Giridhar <arungiridhar@gmail.com>
parents: 31020
diff changeset
17 `unique (perms ('aaaabbbbcccc'), "rows")`.
f03e1eebf46d perms.m: Add new input option "unique" to return only unique permutations (bug #60364)
Arun Giridhar <arungiridhar@gmail.com>
parents: 31020
diff changeset
18
31063
451fb63a10a0 update integral to call quadgk for 'ArrayValued' integrations (bug #62468)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31026
diff changeset
19 - `quadgk` can now accept the `ArrayValued` input parameter to handle
451fb63a10a0 update integral to call quadgk for 'ArrayValued' integrations (bug #62468)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31026
diff changeset
20 array-valued input functions.
451fb63a10a0 update integral to call quadgk for 'ArrayValued' integrations (bug #62468)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31026
diff changeset
21
30458
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
22 ### Graphical User Interface
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
23
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
24
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
25 ### Graphics backend
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
26
31020
cb9451780a15 Update figure graphics object for Matlab compatibility.
Rik <rik@octave.org>
parents: 31005
diff changeset
27 - Additional properties have been added to the `figure` graphics object:
cb9451780a15 Update figure graphics object for Matlab compatibility.
Rik <rik@octave.org>
parents: 31005
diff changeset
28 * `"innerposition"` (equivalent to `"position"`)
cb9451780a15 Update figure graphics object for Matlab compatibility.
Rik <rik@octave.org>
parents: 31005
diff changeset
29 * `"windowstate"` (not yet implemented)
30458
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
30
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
31 ### Matlab compatibility
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
32
30912
ec5b57af230a Improve performance of inline functions.
Rik <rik@octave.org>
parents: 30902
diff changeset
33 - `inline` functions now support all Matlab methods. The performance
ec5b57af230a Improve performance of inline functions.
Rik <rik@octave.org>
parents: 30902
diff changeset
34 of `inline` functions has also been improved.
ec5b57af230a Improve performance of inline functions.
Rik <rik@octave.org>
parents: 30902
diff changeset
35
30902
972959edc3ff Allow sub2ind() to accept indices outside the size of the input subscripts (bug #62184)
John W. Eaton <jwe@octave.org>
parents: 30876
diff changeset
36 - `sub2ind` now supports index values outside of the size specified by
972959edc3ff Allow sub2ind() to accept indices outside the size of the input subscripts (bug #62184)
John W. Eaton <jwe@octave.org>
parents: 30876
diff changeset
37 the subscripts.
972959edc3ff Allow sub2ind() to accept indices outside the size of the input subscripts (bug #62184)
John W. Eaton <jwe@octave.org>
parents: 30876
diff changeset
38
30876
6ddc9c9bab50 NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents: 30815
diff changeset
39 - `cylinder` now accepts a scalar for the radius argument.
6ddc9c9bab50 NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents: 30815
diff changeset
40
6ddc9c9bab50 NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents: 30815
diff changeset
41 - `clock` now has an optional second output `ISDST` which indicates if
6ddc9c9bab50 NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents: 30815
diff changeset
42 Daylight Savings Time is in effect for the system's time zone.
30458
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
43
30958
8a8f82c0235e print.m: Add options "-image"/"-vector" for Matlab compatibility.
Rik <rik@octave.org>
parents: 30912
diff changeset
44 - `print` now accepts option `-image` to specify the "opengl" renderer
8a8f82c0235e print.m: Add options "-image"/"-vector" for Matlab compatibility.
Rik <rik@octave.org>
parents: 30912
diff changeset
45 and `-vector` to specify the "painters" renderer.
8a8f82c0235e print.m: Add options "-image"/"-vector" for Matlab compatibility.
Rik <rik@octave.org>
parents: 30912
diff changeset
46
30992
4ef25c610433 format: Add 'default' format option (bug #62430)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30978
diff changeset
47 - `format` now accepts the option "default", which is equivalent to
4ef25c610433 format: Add 'default' format option (bug #62430)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30978
diff changeset
48 calling `format` without any options to reset the default state.
4ef25c610433 format: Add 'default' format option (bug #62430)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30978
diff changeset
49
30996
4298af839d20 quadgk.m: Change stopping criterion to "<=" from just "<".
Rik <rik@octave.org>
parents: 30992
diff changeset
50 - `quadgk` now stops iterating when `error <= tolerance` while the previous
4298af839d20 quadgk.m: Change stopping criterion to "<=" from just "<".
Rik <rik@octave.org>
parents: 30992
diff changeset
51 condition was `error < tolerance`.
4298af839d20 quadgk.m: Change stopping criterion to "<=" from just "<".
Rik <rik@octave.org>
parents: 30992
diff changeset
52
30997
5330efaf9476 Add optional second output to var and std (bug #62395)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30996
diff changeset
53 - `var` and `std` now optionally output a second argument containing the mean
5330efaf9476 Add optional second output to var and std (bug #62395)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30996
diff changeset
54 or weighted mean.
5330efaf9476 Add optional second output to var and std (bug #62395)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30996
diff changeset
55
31063
451fb63a10a0 update integral to call quadgk for 'ArrayValued' integrations (bug #62468)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31026
diff changeset
56 - `integral` can now accept the 'ArrayValued' option in combination with
451fb63a10a0 update integral to call quadgk for 'ArrayValued' integrations (bug #62468)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31026
diff changeset
57 'RelTol' and 'WayPoints'.
451fb63a10a0 update integral to call quadgk for 'ArrayValued' integrations (bug #62468)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31026
diff changeset
58
31020
cb9451780a15 Update figure graphics object for Matlab compatibility.
Rik <rik@octave.org>
parents: 31005
diff changeset
59 - The default state for certain graphics properties has been made
cb9451780a15 Update figure graphics object for Matlab compatibility.
Rik <rik@octave.org>
parents: 31005
diff changeset
60 consistent with Matlab.
cb9451780a15 Update figure graphics object for Matlab compatibility.
Rik <rik@octave.org>
parents: 31005
diff changeset
61
cb9451780a15 Update figure graphics object for Matlab compatibility.
Rik <rik@octave.org>
parents: 31005
diff changeset
62 Object | Property | Default State
cb9451780a15 Update figure graphics object for Matlab compatibility.
Rik <rik@octave.org>
parents: 31005
diff changeset
63 ------------|------------------|------------
cb9451780a15 Update figure graphics object for Matlab compatibility.
Rik <rik@octave.org>
parents: 31005
diff changeset
64 `figure` | `"dockcontrols"` | `"on"`
cb9451780a15 Update figure graphics object for Matlab compatibility.
Rik <rik@octave.org>
parents: 31005
diff changeset
65
30458
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
66 ### Alphabetical list of new functions added in Octave 8
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
67
31005
81b51b823663 uifigure.m: Add new function.
Rik <rik@octave.org>
parents: 30999
diff changeset
68 * `uifigure`
30458
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
69
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
70 ### Deprecated functions, properties, and operators
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
71
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
72 The following functions and properties have been deprecated in Octave 8
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
73 and will be removed from Octave 10 (or whatever version is the second
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
74 major release after 8):
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
75
30604
a5e92ddf0a4d doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 30550
diff changeset
76 - Functions
a5e92ddf0a4d doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 30550
diff changeset
77
a5e92ddf0a4d doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 30550
diff changeset
78 Function | Replacement
a5e92ddf0a4d doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 30550
diff changeset
79 -----------------------|------------------
a5e92ddf0a4d doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 30550
diff changeset
80 `shift` | `circshift`
30815
3ee2fba50b72 * NEWS.8: Note change in sparse_auto_mutate.
John W. Eaton <jwe@octave.org>
parents: 30604
diff changeset
81 `sparse_auto_mutate` | none (see below)
30604
a5e92ddf0a4d doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 30550
diff changeset
82
30876
6ddc9c9bab50 NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents: 30815
diff changeset
83 - The `sparse_auto_mutate` function no longer has any effect on Octave's
6ddc9c9bab50 NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents: 30815
diff changeset
84 behavior. Previously, after calling `sparse_auto_mutate (true)`,
6ddc9c9bab50 NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents: 30815
diff changeset
85 Octave would automatically convert sparse matrices to full when a
6ddc9c9bab50 NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents: 30815
diff changeset
86 sparse matrix required more memory than simply using full matrix
6ddc9c9bab50 NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents: 30815
diff changeset
87 storage. This setting was `false` by default for compatibility with
6ddc9c9bab50 NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents: 30815
diff changeset
88 Matlab. Now you must manually convert to full storage when desired.
30458
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
89
30999
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
90
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
91 - Properties
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
92
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
93 The following property names are discouraged, but there is no fixed
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
94 date for their removal.
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
95
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
96 Object | Property | Replacement
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
97 -----------------|-------------|------------
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
98 `uimenu` | `label` | `text`
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
99 `uimenu` | `callback` | `menuselectedfcn`
fef2957c38ec Deprecate uimenu properties "label" and "callback" (bug #62443)
Rik <rik@octave.org>
parents: 30997
diff changeset
100
30458
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
101 The following functions were deprecated in Octave 6 and have been removed
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
102 from Octave 8.
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
103
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
104 - Functions
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
105
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
106 Function | Replacement
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
107 -----------------------|------------------
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
108 `runtests` | `oruntests`
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
109
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
110 - The environment variable used by `mkoctfile` for linker flags is now
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
111 `LDFLAGS` rather than `LFLAGS`. `LFLAGS` was deprecated in Octave 6,
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
112 and will be removed in a future version of Octave.
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
113
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
114 ### Old release news
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
115
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
116 - [Octave 7.x](etc/NEWS.7)
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
117 - [Octave 6.x](etc/NEWS.6)
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
118 - [Octave 5.x](etc/NEWS.5)
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
119 - [Octave 4.x](etc/NEWS.4)
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
120 - [Octave 3.x](etc/NEWS.3)
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
121 - [Octave 2.x](etc/NEWS.2)
df7feab99999 maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
122 - [Octave 1.x](etc/NEWS.1)