ibsp {bspline} | R Documentation |
Indefinite integral of B-spline
Description
Indefinite integral of B-spline
Usage
ibsp(f, const = 0, nint = 1L)
Arguments
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) |
Details
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.
Value
Function calculating requested integral
[Package bspline version 2.2.2 Index]