public final class JafamaFastMath extends Object
MathLib.sinAndCos(double)
.Modifier and Type | Method and Description |
---|---|
static void |
sinAndCos(double x,
double[] sincos)
Computes sine and cosine of an angle together.
|
static void |
sinhAndCosh(double x,
double[] sinhcosh)
Computes hyperbolic sine and hyperbolic cosine together.
|
public static void sinAndCos(double x, double[] sincos)
x
- angle in radianssincos
- array of size 2. Array is filled is values: [angle sine, angle cosine]public static void sinhAndCosh(double x, double[] sinhcosh)
x
- valuesinhcosh
- array of size 2. Array is filled is values: [hyperbolic sine, hyperbolic cosine]Copyright © 2020 CNES. All rights reserved.