Skip to content

Tessero\Interpolate\LSQUnivariateSpline

← All classes

AI assistant

Build this with Claude Code, Cursor or Copilot

Copy a Tessero-tuned prompt for Tessero\Interpolate\LSQUnivariateSpline, grounded in 2 real API signatures , into your IDE's AI. No chatbot, just exact context.

__construct
__construct(array $x, array $y, array $t, int $k = 3)
query
query(array $xnew): array

Evaluate the least-squares spline at the query point(s).

knots
knots(): array

The full (clamped) knot vector used for the fit; mirrors sp.get_knots() augmented ends.