You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / interpolate / _bsplines / _lsq_solve_qr

function

scipy.interpolate._bsplines:_lsq_solve_qr

source: /scipy/interpolate/_bsplines.py:1931

Signature

def _lsq_solve_qr(x, y, t, k, w, periodic = False)

Summary

Solve for the LSQ spline coeffs given x, y and knots.

Extended Summary

y is always 2D: for 1D data, the shape is (m, 1). w is always 1D: one weight value per x value.

Aliases

  • scipy.interpolate._bsplines._lsq_solve_qr