moderndid.BSpline.integral#

method

BSpline.integral(complete_basis=True)[source]#

Compute integrals of B-spline basis functions.

Parameters:
complete_basisbool, default=True

If True, return the complete integral matrix. If False, the first column is dropped.

Returns:
numpy.ndarray

The matrix of B-spline integrals.