This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _bsplines / _lsq_clamp_preprocess

function

scipy.interpolate._bsplines:_lsq_clamp_preprocess

source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_bsplines.py:2428

Signature

def _lsq_clamp_preprocess(A, offset, nc, k, y_w, ci, cf, x, y, w)

Summary

Apply the clamp preprocessing to packed matrix + RHS for the QR path.

Extended Summary

Adjusts y_w for the pinned coefficients, reduces (A, offset, nc) by dropping boundary rows and dense columns 0 and nc-1, and returns everything ready to feed into qr_reduce + fpback.

Aliases

  • scipy.interpolate._bsplines._lsq_clamp_preprocess