mod_ylag Module

Lagrangian interpolation xi is interpolated entry into x-array n is the order of lagrangran interpolation y is array from which ylag is obtained by interpolation ind is the min-i for x(i).gt.xi if ind=0,x-array will be searched imax is max index of x-and y-arrays

Note

07/12/94 HE arg. IEX removed


Uses

    • mod_datatypes

Functions

public function ylag(xi, x, y, ind1, n1, imax)

License
Creative Commons License
Category
numerical-tools, KKRhost

l a g r a n g i a n

i n t e r p o l a t i o n

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: xi
real(kind=dp), intent(in), dimension(imax) :: x
real(kind=dp), intent(in), dimension(imax) :: y
integer, intent(in) :: ind1
integer, intent(in) :: n1
integer, intent(in) :: imax

Return Value real(kind=dp)