public abstract class AbstractVector3DFunction extends Object implements Vector3DFunction
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_STEP
Default finite difference step.
|
Constructor and Description |
---|
AbstractVector3DFunction(AbsoluteDate zeroDate)
Constructor setting a default finite differences differentiator and a default trapezoid integrator.
|
AbstractVector3DFunction(AbsoluteDate zeroDate,
UnivariateVectorFunctionDifferentiator inDifferentiator)
Constructor setting a default trapezoid integrator.
|
AbstractVector3DFunction(AbsoluteDate zeroDate,
UnivariateVectorFunctionDifferentiator inDifferentiator,
UnivariateIntegrator inIntegrator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
UnivariateVectorFunctionDifferentiator |
getDifferentiator()
Get the differentiator.
|
UnivariateIntegrator |
getIntegrator()
Get the integrator.
|
abstract Vector3D |
getVector3D(AbsoluteDate date)
Get the vector at a given date.
|
AbsoluteDate |
getZeroDate()
Get the date at x = 0.
|
Vector3D |
integral(double x0,
double xf)
Returns the integral of the vector function in the given interval.
|
Vector3DFunction |
nthDerivative(int order)
Compute the
Vector3DFunction representing the n-th derivative of the current vector function.The differentiation is performed using a numerical differentiation method. |
double[] |
value(double x)
Compute the components of the vector at the (zero + x) date.
|
public static final double DEFAULT_STEP
public AbstractVector3DFunction(AbsoluteDate zeroDate)
zeroDate
- the date at x = 0.public AbstractVector3DFunction(AbsoluteDate zeroDate, UnivariateVectorFunctionDifferentiator inDifferentiator)
zeroDate
- the date at x = 0.inDifferentiator
- the differentiation method used to compute the first derivative of the current vector function
components.public AbstractVector3DFunction(AbsoluteDate zeroDate, UnivariateVectorFunctionDifferentiator inDifferentiator, UnivariateIntegrator inIntegrator)
zeroDate
- the date at x = 0.inDifferentiator
- the differentiation method used to compute the first derivative of the current vector function
components.inIntegrator
- the integration method used to compute the integral of the current vector function components.public abstract Vector3D getVector3D(AbsoluteDate date) throws PatriusException
getVector3D
in interface Vector3DFunction
date
- the dateVector3D
class.PatriusException
- if vector3D cannot be computedpublic final AbsoluteDate getZeroDate()
public final UnivariateVectorFunctionDifferentiator getDifferentiator()
public final UnivariateIntegrator getIntegrator()
public final double[] value(double x)
value
in interface UnivariateVectorFunction
x
- the time from the date zero for which the function value should be computedPatriusExceptionWrapper
- if problems to compute value (frame transformation, or other)public Vector3DFunction nthDerivative(int order)
Vector3DFunction
representing the n-th derivative of the current vector function.nthDerivative
in interface Vector3DFunction
order
- the order npublic Vector3D integral(double x0, double xf)
integral
in interface Vector3DFunction
x0
- the lower bound of the interval.xf
- the upper bound of the interval.Copyright © 2018 CNES. All Rights Reserved.