Package org.orekit.utils
Interface ExtendedStateScalarFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface representing a scalar function depending only on
SpacecraftState or its field counterpart.- Since:
- 14.0
- Author:
- Romain Serra
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtendedStateScalarFunctionof(ToDoubleFunction<SpacecraftState> function) Create instance from pure double function.default <T extends CalculusFieldElement<T>>
Tvalue(FieldSpacecraftState<T> fieldState) Evaluate the Field function.doublevalue(SpacecraftState state) Evaluate the function.
-
Method Details
-
value
Evaluate the function.- Parameters:
state- spacecraft state as the sole free parameter of the function.- Returns:
- scalar value of the function
-
value
Evaluate the Field function.- Type Parameters:
T- field type- Parameters:
fieldState- spacecraft state as the sole free parameter of the function.- Returns:
- scalar value of the function
-
of
Create instance from pure double function.- Parameters:
function- function of double- Returns:
- extended function
-