Package org.orekit.utils
Class Fieldifier
- java.lang.Object
-
- org.orekit.utils.Fieldifier
-
public class Fieldifier extends Object
Utility class used to convert class to their Field equivalent.- Author:
- Vincent Cucchietti
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends CalculusFieldElement<T>>
FieldMatrix<T>fieldify(Field<T> field, RealMatrix matrix)
Fieldify given matrix with given field.static <T extends CalculusFieldElement<T>>
FieldStateCovariance<T>fieldify(Field<T> field, StateCovariance stateCovariance)
Fieldify given state covariance with given field.
-
-
-
Method Detail
-
fieldify
public static <T extends CalculusFieldElement<T>> FieldMatrix<T> fieldify(Field<T> field, RealMatrix matrix)
Fieldify given matrix with given field.- Type Parameters:
T
- type of the elements- Parameters:
field
- field to fieldify withmatrix
- matrix to fieldify- Returns:
- fielded matrix
-
fieldify
public static <T extends CalculusFieldElement<T>> FieldStateCovariance<T> fieldify(Field<T> field, StateCovariance stateCovariance)
Fieldify given state covariance with given field.- Type Parameters:
T
- type of the elements- Parameters:
field
- field to which thestateCovariance
- state covariance to fieldify- Returns:
- fielded state covariance
- Since:
- 12.0
-
-