bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _interpolate / PPoly / from_bernstein_basis
classmethod
scipy.interpolate._interpolate:PPoly.from_bernstein_basis
source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_interpolate.py:1815
Summary
Construct a piecewise polynomial in the power basis from a polynomial in Bernstein basis.
Parameters
bp: BPolyA Bernstein basis polynomial, as created by BPoly
extrapolate: bool or 'periodic', optionalIf bool, determines whether to extrapolate to out-of-bounds points based on first and last intervals, or to return NaNs. If 'periodic', periodic extrapolation is used. Default is True.
Aliases
scipy.interpolate.PPoly.from_bernstein_basis