clqmn Subroutine

public subroutine clqmn(mm, m, n, x, y, cqm, cqd)

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

! CLQMN: associated Legendre functions and derivatives for complex argument.

Discussion:

This procedure computes the associated Legendre functions of the second 
kind, Qmn(z) and Qmn'(z), 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:

02 August 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, integer ( kind = 4 ) MM, the physical dimension of CQM and CQD.

Input, integer ( kind = 4 ) M, N, the order and degree of Qmn(z).

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

Output, complex ( kind = 8 ) CQM(0:MM,0:N), CQD(0:MM,0:N), the values of
Qmn(z) and Qmn'(z).

Arguments

Type IntentOptional Attributes Name
integer(kind=4) :: mm
integer(kind=4) :: m
integer(kind=4) :: n
real(kind=8) :: x
real(kind=8) :: y
complex(kind=8) :: cqm(0:mm,0:n)
complex(kind=8) :: cqd(0:mm,0:n)