moderndid.BSpline.set_degree#

method

BSpline.set_degree(degree)#

Set polynomial degree.

Parameters:
degreeint

The degree of the spline polynomial. Must be non-negative.