iprBarycentricRational {interpolators} | R Documentation |
Barycentric rational interpolator
Description
Barycentric rational interpolator.
Usage
iprBarycentricRational(x, y, ao = 3)
Arguments
x , y |
numeric vectors giving the coordinates of the known points, without missing value |
ao |
approximation order, an integer greater than or equal to 3 |
Details
See Barycentric rational interpolation.
Value
An interpolator, for usage in evalInterpolator
.
Examples
library(interpolators)
x <- c(1, 2, 4, 5)
y <- x^2
ipr <- iprBarycentricRational(x, y)
evalInterpolator(ipr, c(2, 3))
evalInterpolator(ipr, c(2, 3), derivative = 1)
[Package interpolators version 1.0.1 Index]