public class CoefficientsFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CoefficientsFactory.NSKey
Key formed by two integer values.
|
Modifier and Type | Method and Description |
---|---|
static double[][] |
computeGsHs(double k,
double h,
double alpha,
double beta,
int order)
Compute recursively Gs and Hs polynomials from equation 3.1-(5).
|
static <T extends CalculusFieldElement<T>> |
computeGsHs(T k,
T h,
T alpha,
T beta,
int order,
Field<T> field)
Compute recursively Gs and Hs polynomials from equation 3.1-(5).
|
static double[][] |
computeQns(double gamma,
int nMax,
int sMax)
Compute the Qn,s coefficients evaluated at γ from the recurrence formula 2.8.3-(2).
|
static <T extends CalculusFieldElement<T>> |
computeQns(T gamma,
int nMax,
int sMax)
Compute the Qn,s coefficients evaluated at γ from the recurrence formula 2.8.3-(2).
|
static TreeMap<CoefficientsFactory.NSKey,Double> |
computeVns(int order)
Compute the Vn,s coefficients from 2.8.2-(1)(2).
|
static double |
getVmns(int m,
int n,
int s)
Get the Vn,sm coefficient from Vn,s.
|
public static double[][] computeQns(double gamma, int nMax, int sMax)
Qn,s coefficients are computed for n = 0 to nMax and s = 0 to sMax + 1 in order to also get the derivative dQn,s/dγ = Q(n, s + 1)
gamma
- γ anglenMax
- n max valuesMax
- s max valuepublic static <T extends CalculusFieldElement<T>> T[][] computeQns(T gamma, int nMax, int sMax)
Qn,s coefficients are computed for n = 0 to nMax and s = 0 to sMax + 1 in order to also get the derivative dQn,s/dγ = Q(n, s + 1)
T
- the type of the field elementsgamma
- γ anglenMax
- n max valuesMax
- s max valuepublic static double[][] computeGsHs(double k, double h, double alpha, double beta, int order)
k
- x-component of the eccentricity vectorh
- y-component of the eccentricity vectoralpha
- 1st direction cosinebeta
- 2nd direction cosineorder
- development orderpublic static <T extends CalculusFieldElement<T>> T[][] computeGsHs(T k, T h, T alpha, T beta, int order, Field<T> field)
T
- the type of the field elementsk
- x-component of the eccentricity vectorh
- y-component of the eccentricity vectoralpha
- 1st direction cosinebeta
- 2nd direction cosineorder
- development orderfield
- field of elementspublic static TreeMap<CoefficientsFactory.NSKey,Double> computeVns(int order)
order
- Order of the computation. Computation will be done from 0 to order -1public static double getVmns(int m, int n, int s)
m
- mn
- ns
- sCopyright © 2002-2022 CS GROUP. All rights reserved.