B2#

class splinebox.basis_functions.B2#

Basis function for a quadratic (\(2^{\text{nd}}\) order) polynomial basis spline.

For a detailed theoretical description, including the equation and a plot of the function, refer to the Polynomial basis (B-spline) section in the documentation.

The constructor does not require any arguments.

For more information on the methods and attributes available in this class, please see the documentation for splinebox.basis_functions.BasisFunction.

Methods

eval(t[, derivative])

Evaluate the function at position(s) t.

filter_periodic(s)

The filter used to turn knots into control points for a closed spline.

filter_symmetric(s)

The filter used to turn knots into control points for an open spline.

refinement_mask()

This function is needed for local refinement (see [Badoual2016]).