DOC: interpolate: add note to BarycentricInterpolator.add_xi about numerical stability #19373
Labels
Documentation
Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org
good first issue
Good topic for first contributor pull requests, with a relatively straightforward solution
scipy.interpolate
Milestone
Issue with current documentation:
Currently the docs for
BarycentricInterpolator
don't mention that new points added byadd_xi
are not randomly permuted so they may introduce numerical instability. It would be nice to add a note documenting this and explaining that, if this occurs to reconstruct the interpolant from scratch instead.https://github.com/scipy/scipy/blob/f990b1d2471748c79bc4260baf8923db0a5248af/scipy/interpolate/_polyint.py#L562-L566C28
Idea or request for content:
Add note to
add_xi
docstring.aAdditional context (e.g. screenshots, GIFs)
Will get around to this eventually but in the meantime anybody is welcome to go for it
The text was updated successfully, but these errors were encountered: