cumsum
Return the indefinite integral of a B-spline.
Declaration
intspline = cumsum(spline)
Parameters
splineBSpline instance to integrate
Returns
intsplineBSpline representing the antiderivative
Discussion
Use this to construct an antiderivative spline that can be evaluated at arbitrary points after integration.
For coefficient vector \(\xi\), the integrated spline uses cumulative coefficients
\[\beta_0 = 0, \qquad \beta_j = \sum_{m=1}^{j} \xi_m \frac{\tau_{m+K} - \tau_m}{K}.\]If the spline carries nontrivial xMean or xStd, the method first converts that affine output normalization into an equivalent coefficient representation before integrating.
F = cumsum(spline);
values = F(tQuery);