DEP: integrate: deprecate parameter `full_output`

Matt Haberland <[email protected]>
Newsgroups gmane.comp.python.scientific.devel
Message-ID <CADuxUizL_BUP9ZbbPVSuYm1gTuBo5B5LtKUG4WFcc7-thK9j7Q@mail.gmail.com>
Hi team,

gh-7816 suggested that parameter `full_output` of `scipy.integrate.quad`
should be deprecated. Instead, the result object can contain the additional
output arguments as attributes. This can be accomplished in a
backward-compatible if the result object is a Bunch.

gh-17837 implements this suggestion for `scipy.integrate.nquad`. The first
two return values can be unpacked from the Bunch object just as if it were
the original tuple, but now the return values can also be accessed via
attributes `integral` and `abserr`. The third output that was previously
available only if `full_output=True` will now be accessible via attribute
`neval`.

If you're interested, please join the discussion in gh-17837.
https://github.com/scipy/scipy/pull/17837
If that is merged, we'll follow it as a pattern to deprecate `full_output`
throughout `integrate`.

Matt


-- 
Matt Haberland
Assistant Professor
BioResource and Agricultural Engineering
08A-3K, Cal Poly

_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.