ibsp {bspline} | R Documentation |
Indefinite integral of B-spline
ibsp(f, const = 0, nint = 1L)
f |
Function, B-spline such as returned by |
const |
Numeric scalar or vector of length |
nint |
Integer scalar >= 0, defines how many times to take integral (1 by default) |
If f is B-spline, then following identity is held: Dbsp(ibsp(f)) is identical to f. Generally, it does not work in the other sens: ibsp(Dbsp(f)) is not f but not very far. If we can get an appropriate constant C=f(min(x)) then we can assert that ibsp(Dbsp(f), const=C) is the same as f.
Function calculating requested integral