public class SinCos extends Object
This class is a simple container, it does not provide any computational method.
FastMath.sinCos(double)
Modifier and Type | Method and Description |
---|---|
double |
cos()
Get the value of the cosine.
|
static SinCos |
difference(SinCos scAlpha,
SinCos scBeta)
Compute sine and cosine of angles difference.
|
double |
sin()
Get the value of the sine.
|
static SinCos |
sum(SinCos scAlpha,
SinCos scBeta)
Compute sine and cosine of angles sum.
|
public double sin()
public double cos()
public static SinCos sum(SinCos scAlpha, SinCos scBeta)
scAlpha
- \((\sin \alpha, \cos \alpha)\)scBeta
- \((\sin \beta, \cos \beta)\)Copyright © 2016-2022 CS GROUP. All rights reserved.