Class LnsCoefficients


  • public class LnsCoefficients
    extends Object
    Compute the Lns(γ).

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

    Author:
    Lucian Barbulescu
    • Constructor Detail

      • LnsCoefficients

        public LnsCoefficients​(int nMax,
                               int sMax,
                               double[][] Qns,
                               SortedMap<CoefficientsFactory.NSKey,​Double> Vns,
                               double roa)
        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)
    • Method Detail

      • getLns

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

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