public final class Squaring extends Object
Modifier and Type | Method and Description |
---|---|
static double[][] |
computeSquaringPoints(int numPoints,
StelaEquinoctialOrbit orbit,
double startPoint,
double endPoint)
Computation of squaring points equally distributed according to true anomaly.
|
static StelaEquinoctialOrbit[] |
computeSquaringPointsEccentric(int numPoints,
StelaEquinoctialOrbit orbit)
Computation of squaring points equally distributed according to eccentric anomaly.
|
static AbsoluteDate[] |
getSquaringJDCNES() |
static double |
simpsonMean(double[] y)
Simpson's rule.
|
static double |
simpsonMean(double[] y,
double deltaEi)
Simpson's rule when the integration is not done on the entire orbit, but only on one specific part.
|
public static double simpsonMean(double[] y) throws PatriusException
y
- function valuesPatriusException
- exception raised if number of intervals
for Simpson's Rule is not even.public static double simpsonMean(double[] y, double deltaEi) throws PatriusException
y
- function valuesdeltaEi
- interval length in eccentric anomalyPatriusException
- exception raised if number of intervals for Simpson's Rule is not even.public static double[][] computeSquaringPoints(int numPoints, StelaEquinoctialOrbit orbit, double startPoint, double endPoint) throws PatriusException
numPoints
- number of squaring pointsorbit
- an orbitstartPoint
- starting true anomaly of the considered part of the orbitendPoint
- ending true anomaly of the considered part of the orbitPatriusException
- thrown if number of points is not oddpublic static AbsoluteDate[] getSquaringJDCNES()
public static StelaEquinoctialOrbit[] computeSquaringPointsEccentric(int numPoints, StelaEquinoctialOrbit orbit) throws PatriusException
numPoints
- number of squaring pointsorbit
- an orbitPatriusException
- thrown if number of points is not oddCopyright © 2019 CNES. All rights reserved.