Constructs a piecewise hermitian cubic interpolation of an array y(x) based on discrete numerical data and evaluates the interpolation at p. Note that the mesh spacing does not necessarily have to be uniform.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(:) | :: | x |
Variable x |
|
real(kind=wp), | intent(in), | dimension(size(x)) | :: | y |
Function y(x) |
|
real(kind=wp), | intent(in), | dimension(:) | :: | p |
Point array p |
Interpolation y(p)