Mercurial > octave
diff scripts/general/quadgk.m @ 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 | 12f8fb75fc30 |
children | 96f751f8392c |
line wrap: on
line diff
--- a/scripts/general/quadgk.m Thu Jun 02 17:08:32 2022 -0400 +++ b/scripts/general/quadgk.m Thu Jun 02 19:56:15 2022 -0400 @@ -52,7 +52,7 @@ ## operator @code{./} and all user functions to @code{quadgk} should do the ## same. ## -## The optional argument @var{tol} defines the absolute tolerance used to stop +## The optional argument @var{abstol} defines the absolute tolerance used to stop ## the integration procedure. The default value is 1e-10 (1e-5 for single). ## ## The algorithm used by @code{quadgk} involves subdividing the integration