cpsi Subroutine

public subroutine cpsi(x, y, psr, psi)

************80

! CPSI computes the psi function for a complex argument.

Licensing:

This routine is copyrighted by Shanjie Zhang and Jianming Jin.  However, 
they give permission to incorporate this routine into a user program 
provided that the copyright is acknowledged.

Modified:

16 July 2012

Author:

Shanjie Zhang, Jianming Jin

Reference:

Shanjie Zhang, Jianming Jin,
Computation of Special Functions,
Wiley, 1996,
ISBN: 0-471-11963-6,
LC: QA351.C45.

Parameters:

Input, real ( kind = 8 ) X, Y, the real and imaginary parts 
of the argument.

Output, real ( kind = 8 ) PSR, PSI, the real and imaginary parts
of the function value.

Arguments

Type IntentOptional Attributes Name
real(kind=8) :: x
real(kind=8) :: y
real(kind=8) :: psr
real(kind=8) :: psi