Performs linear/bilinear interpolation
Performs linear interpolation on a uniform 1D grid y(x)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=Float64), | intent(in), | dimension(:) | :: | x | The abscissa values of |
|
real(kind=Float64), | intent(in), | dimension(:) | :: | y | Values at abscissa values |
|
real(kind=Float64), | intent(in) | :: | xout | Abscissa value to interpolate |
||
real(kind=Float64), | intent(out) | :: | yout | Interpolant: y(xout) |
||
integer, | intent(out), | optional | :: | err | Error code |
|
type(InterpolCoeffs1D), | intent(in), | optional | :: | coeffs | Precomputed Linear Interpolation Coefficients |
Performs bilinear interpolation on a 2D grid z(x,y)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=Float64), | intent(in), | dimension(:) | :: | x | The abscissa values of |
|
real(kind=Float64), | intent(in), | dimension(:) | :: | y | The ordinate values of |
|
real(kind=Float64), | intent(in), | dimension(:,:) | :: | z | Values at the abscissa/ordinates: z(x,y) |
|
real(kind=Float64), | intent(in) | :: | xout | The abscissa value to interpolate |
||
real(kind=Float64), | intent(in) | :: | yout | The ordinate value to interpolate |
||
real(kind=Float64), | intent(out) | :: | zout | Interpolant: z(xout,yout) |
||
integer, | intent(out), | optional | :: | err | Error code |
|
type(InterpolCoeffs2D), | intent(in), | optional | :: | coeffs | Precomputed Linear Interpolation Coefficients |
Performs bilinear interpolation on a 2D grid of 2D arrays z(:,:,x,y)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=Float64), | intent(in), | dimension(:) | :: | x | The abscissa values of |
|
real(kind=Float64), | intent(in), | dimension(:) | :: | y | The ordinate values of |
|
real(kind=Float64), | intent(in), | dimension(:,:,:,:) | :: | z | Values at the abscissa/ordinates: z(:,:,x,y) |
|
real(kind=Float64), | intent(in) | :: | xout | The abscissa value to interpolate |
||
real(kind=Float64), | intent(in) | :: | yout | The ordinate value to interpolate |
||
real(kind=Float64), | intent(out), | dimension(:,:) | :: | zout | Interpolant: z(:,:,xout,yout) |
|
integer, | intent(out), | optional | :: | err | Error code |
|
type(InterpolCoeffs2D), | intent(in), | optional | :: | coeffs | Precomputed Linear Interpolation Coefficients |