interpolate_array_re Function

public function interpolate_array_re(x, y, p) result(r)

This function constructs a piecewise hermitian cubic interpolation of an array y(x) based on discrete numerical data, and evaluates the interpolation at points p. Note that the mesh spacing of x does not necessarily have to be uniform.

Arguments

Type IntentOptional AttributesName
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

Interpolation domain p

Return Value real(kind=wp), dimension(size(p))

Interpolation result y(p)


Contents

None