Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=8), | , | dimension(:) | :: | x | the mesh on which the function points are provided |
|
real(kind=8), | , | dimension(:) | :: | f | the function points |
|
real(kind=8) | :: | x_i | the point at which the function value is desired |
the value at point x_i
find a linearly interpolated value of a function \(f\left(x\right)\) at point \(x_{i}\) given values of the function in \(\vec{f}\) at points \(\vec{x}\)
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=4), | public | :: | i | ||||
integer(kind=4), | public | :: | j |