bspline_basis()

Contents

bspline_basis()#

liesel_ptm.bspline_basis(x, knots, order)[source]#

Vectorized B-spline basis function evaluation.

Parameters:
  • x – Input array.

  • knots – Array of knots.

  • order – Order of the spline (order=3 for a cubic spline).

Returns:

B-spline basis matrix.