legendre_p Function

public function legendre_p(n, x) result(p)

Function to calculate the Legendre function of x with order n

Arguments

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

Return Value real(kind=long)