|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.astro.Trigo
Trigonometric functions. Extracted from Class Coo
Field Summary | |
static double |
DEG
|
Constructor Summary | |
Trigo()
|
Method Summary | |
static double |
asinc(double x)
Function asinc(x), inverse function of sinc |
static double |
asind(double x)
sin-1 (inverse function of sine), gives argument in degrees |
static double |
atan2d(double y,
double x)
get the polar angle from 2-D cartesian coordinates |
static double |
atand(double x)
tan-1 (inverse function of tangent), gives argument in degrees |
static double |
atanh(double x)
tanh-1 (inverse function of tanh) |
static double |
cosd(double x)
Cosine when argument in degrees |
static double |
cosh(double x)
Hyperbolic cosine cosh = (exp(x) + exp(-x))/2 |
static double |
sinc(double x)
Function sinc(x) = sin(x)/x |
static double |
sind(double x)
Sin when argument in degrees |
static double |
tanh(double x)
Hyperbolic tangent = (exp(x)-exp(-x))/(exp(x)+exp(-x)) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final double DEG
Constructor Detail |
public Trigo()
Method Detail |
public static final double cosd(double x)
x
- angle in degrees
public static final double sind(double x)
x
- angle in degrees
public static final double asind(double x)
x
- argument
public static final double atand(double x)
x
- argument
public static final double atan2d(double y, double x)
y
- cartesian y coordinatex
- cartesian x coordinate
public static final double cosh(double x)
x
- argument
public static final double tanh(double x)
x
- argument
public static final double atanh(double x)
x
- argument, in range ]-1, 1[ (NaN returned otherwise)
public static final double sinc(double x)
x
- argument (radians)
public static final double asinc(double x)
x
- argument
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |