alpha Function

private elemental function alpha(mode)

Coefficient alpha from the recursive formulation of Legendre polynomials, for the Legendre mode 'mode'.

For Legendre polynomials we have:

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: mode

The Legendre mode to compute for.

Return Value real(kind=rk)