T
- the type of the field elementspublic class FieldSinCos<T> extends Object
This class is a simple container, it does not provide any computational method.
FastMath.sinCos(org.hipparchus.CalculusFieldElement)
Constructor and Description |
---|
FieldSinCos(T sin,
T cos)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
cos()
Get the value of the cosine.
|
static <S extends CalculusFieldElement<S>> |
difference(FieldSinCos<S> scAlpha,
FieldSinCos<S> scBeta)
Compute sine and cosine of angles difference.
|
T |
sin()
Get the value of the sine.
|
static <S extends CalculusFieldElement<S>> |
sum(FieldSinCos<S> scAlpha,
FieldSinCos<S> scBeta)
Compute sine and cosine of angles sum.
|
public T sin()
public T cos()
public static <S extends CalculusFieldElement<S>> FieldSinCos<S> sum(FieldSinCos<S> scAlpha, FieldSinCos<S> scBeta)
S
- the type of the field elementsscAlpha
- \((\sin \alpha, \cos \alpha)\)scBeta
- \((\sin \beta, \cos \beta)\)public static <S extends CalculusFieldElement<S>> FieldSinCos<S> difference(FieldSinCos<S> scAlpha, FieldSinCos<S> scBeta)
S
- the type of the field elementsscAlpha
- \((\sin \alpha, \cos \alpha)\)scBeta
- \((\sin \beta, \cos \beta)\)Copyright © 2016-2022 CS GROUP. All rights reserved.