cumsum
Return the indefinite integral along one tensor dimension.
Declaration
intspline = cumsum(self,dim)
Parameters
selfTensorSpline instancedimtensor dimension to integrate along
Returns
intsplineTensorSpline representing the integral
Discussion
The integral is zero at the lower bound of the selected dimension while holding all other coordinates fixed.
This applies the one-dimensional B-spline integration formula along the chosen tensor dimension and leaves the other dimensions unchanged.
F = cumsum(spline);
Fy = cumsum(spline, 2);