Class LegendrePolynomials


  • public class LegendrePolynomials
    extends Object
    Computes the Pnm(t) coefficients.

    The computation of the Legendre polynomials is performed following: Heiskanen and Moritz, Physical Geodesy, 1967, eq. 1-62

    Since:
    11.0
    Author:
    Bryan Cazabonne
    • Constructor Detail

      • LegendrePolynomials

        public LegendrePolynomials​(int degree,
                                   int order,
                                   double t)
        Create Legendre polynomials for the given degree and order.
        Parameters:
        degree - degree of the spherical harmonics
        order - order of the spherical harmonics
        t - argument for polynomials calculation
    • Method Detail

      • getPnm

        public double getPnm​(int n,
                             int m)
        Return the coefficient Pnm.
        Parameters:
        n - index
        m - index
        Returns:
        The coefficient Pnm