Basis functions#

All of your basis functions inherit from the base class BasisFunction.

class splinebox.basis_functions.BasisFunction(multigenerator, support)#
eval(x, derivative=0)#

Evaluate the function at position(s) x.

Parameters#

xnumpy.array

The points where the function should be evaluated.

derivative[0, 1, 2], default = 0

Whether to evaluate the function (0) or its first (1) or second (2) derivative.

Returns#

ynumpy.array

Values of the function or its first or second derivative at position(s) x.

filter_periodic(s)#

???

Parameters#

s?

?

filter_symmetric(s)#

???

Parameters#

s?

?

refinement_mask()#

???