Class FieldLnsCoefficients<T extends CalculusFieldElement<T>>

  • Type Parameters:
    T - type of the field elements

    public class FieldLnsCoefficients<T extends CalculusFieldElement<T>>
    extends Object
    Compute the Lns(γ).

    The fomula used is:
    Lns(γ) = ( R / a )nVnsQns(γ)

    Author:
    Lucian Barbulescu
    • Constructor Detail

      • FieldLnsCoefficients

        public FieldLnsCoefficients​(int nMax,
                                    int sMax,
                                    T[][] Qns,
                                    SortedMap<CoefficientsFactory.NSKey,​Double> Vns,
                                    T roa,
                                    Field<T> field)
        Create a set of Lns(γ) coefficients.
        Parameters:
        nMax - maximum value for n
        sMax - maximum value for s
        Qns - the Qns(γ) coefficients
        Vns - the Vns coefficients
        roa - (R / a)
        field - field used by default
    • Method Detail

      • getLns

        public T getLns​(int n,
                        int s)
        Get the value of Lns(γ).
        Parameters:
        n - n index
        s - s index
        Returns:
        Lns(γ)
      • getdLnsdGamma

        public T getdLnsdGamma​(int n,
                               int s)
        Get the value of dLns / dγ (γ).
        Parameters:
        n - n index
        s - s index
        Returns:
        Lns(γ)