Class HansenTesseralLinear


  • public class HansenTesseralLinear
    extends Object
    Hansen coefficients K(t,n,s) for t!=0 and n < 0.

    Implements Collins 4-236 or Danielson 2.7.3-(9) for Hansen Coefficients and Collins 4-240 for derivatives. The recursions are transformed into composition of linear transformations to obtain the associated polynomials for coefficients and their derivatives - see Petre's paper

    Author:
    Petre Bazavan, Lucian Barbulescu
    • Constructor Detail

      • HansenTesseralLinear

        public HansenTesseralLinear​(int nMax,
                                    int s,
                                    int j,
                                    int n0,
                                    int maxHansen)
        Constructor.
        Parameters:
        nMax - the maximum (absolute) value of n parameter
        s - s parameter
        j - j parameter
        n0 - the minimum (absolute) value of n
        maxHansen - maximum power of e2 in Hansen expansion
    • Method Detail

      • computeInitValues

        public void computeInitValues​(double e2,
                                      double chi,
                                      double chi2)
        Compute the values for the first four coefficients and their derivatives by means of series.
        Parameters:
        e2 - e²
        chi - Χ
        chi2 - Χ²
      • getValue

        public double getValue​(int mnm1,
                               double chi)
        Compute the value of the Hansen coefficient Kj-n-1, s.
        Parameters:
        mnm1 - -n-1
        chi - χ
        Returns:
        the coefficient Kj-n-1, s
      • getDerivative

        public double getDerivative​(int mnm1,
                                    double chi)
        Compute the value of the derivative dKj-n-1, s / de².
        Parameters:
        mnm1 - -n-1
        chi - χ
        Returns:
        the derivative dKj-n-1, s / de²