Class AbstractGaussianContribution.GaussQuadrature
- java.lang.Object
-
- org.orekit.propagation.semianalytical.dsst.forces.AbstractGaussianContribution.GaussQuadrature
-
- Enclosing class:
- AbstractGaussianContribution
protected static class AbstractGaussianContribution.GaussQuadrature extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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 Detail
-
integrate
public double[] integrate(UnivariateVectorFunction f, double lowerBound, double upperBound)
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.
-
-