]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 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 |