Safe Haskell | None |
---|---|
Language | Haskell2010 |
Provides definitions of associated Legendre functions used in spherical harmonic models.
- associatedLegendreFunction :: (Floating a, Ord a) => Int -> Int -> a -> a
- schmidtSemiNormalizedAssociatedLegendreFunction :: (Floating a, Ord a) => Int -> Int -> a -> a
Documentation
associatedLegendreFunction Source
:: (Floating a, Ord a) | |
=> Int | Degree |
-> Int | Order |
-> a | |
-> a |
Computes the associated Legendre function of degree n
and order m
.
Note that the resulting function may not be a polynomial, as when m
is odd it involves a fractional power of x
.
As used in the geodesy and magnetics literature, these functions do not include the Condon-Shortley phase.
schmidtSemiNormalizedAssociatedLegendreFunction Source
:: (Floating a, Ord a) | |
=> Int | Degree |
-> Int | Order |
-> a | |
-> a |
Computes the Schmidt semi-normalized associated Legendre function of degree n
and order m
.
As used in the geodesy and magnetics literature, these functions do not include the Condon-Shortley phase.