OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
xntpln.f
Go to the documentation of this file.
1  subroutine xntpln(x,x1,x2,y1,y2,y)
2 c
3 c xntpln is an interpolation routine.
4 c**********************************************************************
5  implicit real*8 (a-h,o-z)
6 c
7  slope=(y1-y2)/(x1-x2)
8  y=y1+slope*(x-x1)
9 c
10  return
11  end
12 c**********************************************************************
subroutine xntpln(x, x1, x2, y1, y2, y)
Definition: xntpln.f:2