Mercurial > octave-libtiff
comparison 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 |
comparison
equal
deleted
inserted
replaced
31062:ebba770cd852 | 31063:451fb63a10a0 |
---|---|
50 ## @noindent | 50 ## @noindent |
51 ## Note that the formulation of the integrand uses the element-by-element | 51 ## Note that the formulation of the integrand uses the element-by-element |
52 ## operator @code{./} and all user functions to @code{quadgk} should do the | 52 ## operator @code{./} and all user functions to @code{quadgk} should do the |
53 ## same. | 53 ## same. |
54 ## | 54 ## |
55 ## The optional argument @var{tol} defines the absolute tolerance used to stop | 55 ## The optional argument @var{abstol} defines the absolute tolerance used to stop |
56 ## the integration procedure. The default value is 1e-10 (1e-5 for single). | 56 ## the integration procedure. The default value is 1e-10 (1e-5 for single). |
57 ## | 57 ## |
58 ## The algorithm used by @code{quadgk} involves subdividing the integration | 58 ## The algorithm used by @code{quadgk} involves subdividing the integration |
59 ## interval and evaluating each subinterval. If @var{trace} is true then after | 59 ## interval and evaluating each subinterval. If @var{trace} is true then after |
60 ## computing each of these partial integrals display: (1) the number of | 60 ## computing each of these partial integrals display: (1) the number of |