Class AbstractGaussianContribution.GaussQuadrature
java.lang.Object
org.orekit.propagation.semianalytical.dsst.forces.AbstractGaussianContribution.GaussQuadrature
- Enclosing class:
AbstractGaussianContribution
-
Method Summary
Modifier and TypeMethodDescription<T extends CalculusFieldElement<T>>
T[]integrate(CalculusFieldUnivariateVectorFunction<T> f, T lowerBound, T upperBound, Field<T> field) Integrates a given function on the given interval.double[]integrate(UnivariateVectorFunction f, double lowerBound, double upperBound) Integrates a given function on the given interval.
-
Method Details
-
integrate
Integrates a given function on the given interval.- Parameters:
f- Function to integrate.lowerBound- Lower bound of the integration interval.upperBound- Upper bound of the integration interval.- Returns:
- the integral of the weighted function.
-
integrate
public <T extends CalculusFieldElement<T>> T[] integrate(CalculusFieldUnivariateVectorFunction<T> f, T lowerBound, T upperBound, Field<T> field) Integrates a given function on the given interval.- Type Parameters:
T- the type of the field elements- Parameters:
f- Function to integrate.lowerBound- Lower bound of the integration interval.upperBound- Upper bound of the integration interval.field- field utilized by default- Returns:
- the integral of the weighted function.
-