Class JacobiPolynomials


  • public class JacobiPolynomials
    extends Object
    Provider of the Jacobi polynomials Plv,w.

    This class is used for tesseral contribution computation and DSSTThirdBody.

    Since:
    6.1
    Author:
    Nicolas Bernard
    • Method Detail

      • getValueAndDerivative

        public static double[] getValueAndDerivative​(int l,
                                                     int v,
                                                     int w,
                                                     double x)
        Returns the value and derivatives of the Jacobi polynomial Plv,w evaluated at γ.

        This method is guaranteed to be thread-safe

        It was added to improve performances of DSST propagation with tesseral gravity field or third-body perturbations.

        See issue 1098.

        It appeared the "Gradient" version was degrading performances. This last was however kept for validation purposes.

        Parameters:
        l - degree of the polynomial
        v - v value
        w - w value
        x - x value
        Returns:
        value and derivatives of the Jacobi polynomial Plv,w(γ)
        Since:
        11.3.3
      • getValue

        public static Gradient getValue​(int l,
                                        int v,
                                        int w,
                                        Gradient gamma)
        Returns the value and derivatives of the Jacobi polynomial Plv,w evaluated at γ.

        This method is guaranteed to be thread-safe

        It's not used in the code anymore, see getValueAndDerivative(int, int, int, double), but was kept for validation purpose.

        Parameters:
        l - degree of the polynomial
        v - v value
        w - w value
        gamma - γ value
        Returns:
        value and derivatives of the Jacobi polynomial Plv,w(γ)
        Since:
        10.2
      • getValue

        public static <T extends CalculusFieldElement<T>> FieldGradient<T> getValue​(int l,
                                                                                    int v,
                                                                                    int w,
                                                                                    FieldGradient<T> gamma)
        Returns the value and derivatives of the Jacobi polynomial Plv,w evaluated at γ.

        This method is guaranteed to be thread-safe

        Type Parameters:
        T - the type of the field elements
        Parameters:
        l - degree of the polynomial
        v - v value
        w - w value
        gamma - γ value
        Returns:
        value and derivatives of the Jacobi polynomial Plv,w(γ)
        Since:
        10.2