public class Differentiation extends Object
Modifier and Type | Method and Description |
---|---|
static ParameterFunction |
differentiate(ParameterFunction function,
int nbPoints,
double step)
Differentiate a scalar function using finite differences.
|
static StateJacobian |
differentiate(StateFunction function,
int dimension,
AttitudeProvider provider,
OrbitType orbitType,
PositionAngle positionAngle,
double dP,
int nbPoints)
Differentiate a vector function using finite differences.
|
public static ParameterFunction differentiate(ParameterFunction function, int nbPoints, double step)
function
- function to differentiatenbPoints
- number of points used for finite differencesstep
- step for finite differences, in physical unitspublic static StateJacobian differentiate(StateFunction function, int dimension, AttitudeProvider provider, OrbitType orbitType, PositionAngle positionAngle, double dP, int nbPoints)
function
- function to differentiatedimension
- dimension of the vector value of the functionprovider
- attitude provider to use for modified statesorbitType
- type used to map the orbit to a one dimensional arraypositionAngle
- type of the position angle used for orbit mapping to arraydP
- user specified position error, used for step size computation for finite differencesnbPoints
- number of points used for finite differencesCopyright © 2002-2022 CS GROUP. All rights reserved.