bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _interpolate / _get_xp_ppoly_cls
_lru_cache_wrapper
scipy.interpolate._interpolate:_get_xp_ppoly_cls
source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_interpolate.py:1240
Signature
def _get_xp_ppoly_cls(xp)Summary
Returns ppoly class to delegate to for xp along with internal array namespace.
Parameters
xp: module
Returns
cls: typeThe ppoly class to delegate to for namespace
xp.namespace: moduleThe internal namespace that calculations are performed with (may differ from
xp, e.g. numpy delegation for torch on CPU).
Aliases
scipy.interpolate._interpolate._get_xp_ppoly_cls