public class HansenTesseralLinear extends Object
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
Constructor and Description |
---|
HansenTesseralLinear(int nMax,
int s,
int j,
int n0,
int maxHansen)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
computeInitValues(double e2,
double chi,
double chi2)
Compute the values for the first four coefficients and their derivatives by means of series.
|
double |
getDerivative(int mnm1,
double chi)
Compute the value of the derivative dKj-n-1, s / de².
|
double |
getValue(int mnm1,
double chi)
Compute the value of the Hansen coefficient Kj-n-1, s.
|
public HansenTesseralLinear(int nMax, int s, int j, int n0, int maxHansen)
nMax
- the maximum (absolute) value of n parameters
- s parameterj
- j parametern0
- the minimum (absolute) value of nmaxHansen
- maximum power of e2 in Hansen expansionpublic void computeInitValues(double e2, double chi, double chi2)
e2
- e²chi
- Χchi2
- Χ²public double getValue(int mnm1, double chi)
mnm1
- -n-1chi
- χpublic double getDerivative(int mnm1, double chi)
mnm1
- -n-1chi
- χCopyright © 2002-2022 CS GROUP. All rights reserved.