Package org.hipparchus.util
Class FieldSinCos<T>
- java.lang.Object
-
- org.hipparchus.util.FieldSinCos<T>
-
- Type Parameters:
T
- the type of the field elements
public class FieldSinCos<T> extends Object
Holder for both sin and cosine values.This class is a simple container, it does not provide any computational method.
- Since:
- 1.4
- See Also:
FastMath.sinCos(org.hipparchus.RealFieldElement)
-
-
Constructor Summary
Constructors Constructor Description FieldSinCos(T sin, T cos)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
cos()
Get the value of the cosine.T
sin()
Get the value of the sine.
-