Class ChebyshevCoefficients.Header
java.lang.Object
gaiasky.util.coord.chebyshev.ChebyshevCoefficients.Header
- Enclosing class:
ChebyshevCoefficients
The class
ChebyshevCoefficients.Header contains the header data of a set of
Chebyshev polynomials describing the structure of the
ChebyshevCoefficients.Coefficients for position and velocity.-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanA flag indicating whether the time granules are equidistantlongThe start time in nanoseconds TCBlongThe end time in nanoseconds TCBintThe number of three spatial dimensionsintThe number of time granules -
Constructor Summary
ConstructorsConstructorDescriptionHeader(int nGranules, boolean isEquidistant, long nanosecondsTcbBegin, long nanosecondsTcbEnd) Initialises thiswith the given number of time granules and a flag indicating whether the time granules are equidistant.ChebyshevCoefficients.Header -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(ChebyshevCoefficients.Header header) Compares the given and this.ChebyshevCoefficients.Header
-
Field Details
-
nDimensions
public int nDimensionsThe number of three spatial dimensions -
nGranules
public int nGranulesThe number of time granules -
isEquidistant
public boolean isEquidistantA flag indicating whether the time granules are equidistant -
nanosecondsTcbBegin
public long nanosecondsTcbBeginThe start time in nanoseconds TCB -
nanosecondsTcbEnd
public long nanosecondsTcbEndThe end time in nanoseconds TCB
-
-
Constructor Details
-
Header
public Header(int nGranules, boolean isEquidistant, long nanosecondsTcbBegin, long nanosecondsTcbEnd) Initialises thiswith the given number of time granules and a flag indicating whether the time granules are equidistant.ChebyshevCoefficients.Header- Parameters:
nGranules- the number of time granulesisEquidistant-trueif the time granules are equidistantnanosecondsTcbBegin- the start time in nanoseconds TCBnanosecondsTcbEnd- the end time in nanoseconds TCB
-
-
Method Details
-
equals
Compares the given and this. ReturnsChebyshevCoefficients.Headertrueif they contain the same data,falseotherwise.- Parameters:
header- theChebyshevCoefficients.Header- Returns:
trueif this and the givenare equalChebyshevCoefficients.Header
-