associated_legendre_p Function

public function associated_legendre_p(l, m, x) result(p)

Function to compute the associated Legendre function of x with order l & m ref) Numerical Recipes in Fortran, pp 246-248


Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: l
integer, intent(in) :: m
real(kind=long), intent(in) :: x

Return Value real(kind=long)