This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / interpolate / _fitpack_repro / F

class

scipy.interpolate._fitpack_repro:F

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

Signature

class F(x, y, t, k, s, w = None, *, R = None, Y = None)

Members

Summary

The r.h.s. of f(p) = s.

Extended Summary

Given scalar p, we solve the system of equations in the LSQ sense:

where A is the matrix of b-splines and b is the discontinuity matrix (the jumps of the k-th derivatives of b-spline basis elements at knots).

Since we do that repeatedly while minimizing over p, we QR-factorize A only once and update the QR factorization only of the B rows of the augmented matrix A, B/p.

The system of equations is Eq. (15) Ref. [1], the strategy and implementation follows that of FITPACK, see specific links below.

Aliases

  • scipy.interpolate._fitpack_repro.F