Tessero\Interpolate\MakeSmoothingSpline
AI assistant
Build this with Claude Code, Cursor or Copilot
Copy a Tessero-tuned prompt for Tessero\Interpolate\MakeSmoothingSpline, grounded in 3 real API signatures , into your IDE's AI. No chatbot, just exact context.
__construct
__construct(array $x, array $y, ?array $w = null, ?float $lam = null)
gcv
gcv(float $lam, array $X, array $XtWX, array $wE, array $XtE, array $y): float
Generalised cross-validation objective at smoothing parameter lam (SciPy's _gcv).
query
query(array $xq): array
Evaluate the smoothing spline at the query point(s) (de Boor, via Tessero\Interpolate::BSpline).
tck
tck(): array
The clamped (t, c, k) triple, mirroring the BSpline returned by scipy.interpolate.make_smoothing_spline.