]> git.uio.no Git - u/mrichter/AliRoot.git/blob - GEANT321/neutron/cterp.F
This commit was generated by cvs2svn to compensate for changes in r1018,
[u/mrichter/AliRoot.git] / GEANT321 / neutron / cterp.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:21:56  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.48  by  S.Giani
11 *-- Author :
12       SUBROUTINE CTERP(X1,X2,X,Y1,Y2,Y)
13 C       THIS ROUTINE PERFORMS LINEAR INTERPOLATION
14       Y=Y2-(X2-X)*(Y2-Y1)/(X2-X1)
15       RETURN
16       END