bundles / scipy 1.17.1 / scipy / interpolate / _interpolate / BPoly / from_power_basis
classmethod
scipy.interpolate._interpolate:BPoly.from_power_basis
Summary
Construct a piecewise polynomial in Bernstein basis from a power basis polynomial.
Parameters
pp: PPolyA piecewise polynomial in the power basis
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.BPoly.from_power_basis