bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _bsplines / _get_xp_bspline_cls
_lru_cache_wrapper
scipy.interpolate._bsplines:_get_xp_bspline_cls
source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_bsplines.py:645
Signature
def _get_xp_bspline_cls(xp)Summary
Returns bspline class to delegate to for xp along with internal array namespace.
Parameters
xp: module
Returns
cls: typeThe bspline 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._bsplines._get_xp_bspline_cls