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 differentiateprovider
- attitude provider to use for modified statesdimension
- dimension of the vector value of the functionorbitType
- 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-2020 CS Group. All rights reserved.