Fix missing import in finiterectlat-scatter.py
[qpms.git] / amos / zshch.f
blob168e62e52fa10707adab14b11584723318ff8079
1 SUBROUTINE ZSHCH(ZR, ZI, CSHR, CSHI, CCHR, CCHI)
2 C***BEGIN PROLOGUE ZSHCH
3 C***REFER TO ZBESK,ZBESH
5 C ZSHCH COMPUTES THE COMPLEX HYPERBOLIC FUNCTIONS CSH=SINH(X+I*Y)
6 C AND CCH=COSH(X+I*Y), WHERE I**2=-1.
8 C***ROUTINES CALLED (NONE)
9 C***END PROLOGUE ZSHCH
11 DOUBLE PRECISION CCHI, CCHR, CH, CN, CSHI, CSHR, SH, SN, ZI, ZR,
12 * DCOSH, DSINH
13 SH = DSINH(ZR)
14 CH = DCOSH(ZR)
15 SN = DSIN(ZI)
16 CN = DCOS(ZI)
17 CSHR = SH*CN
18 CSHI = CH*SN
19 CCHR = CH*CN
20 CCHI = SH*SN
21 RETURN
22 END