Modifier and Type | Method and Description |
---|---|
static double |
acosh(double a)
Returns the arc hyperbolic cosine of a value; the returned hyperbolic angle is positive.
|
static double |
acot(double a)
Returns the arc cotangent of a value; the returned angle is in the range -pi/2 through
pi/2.
|
static double |
acot2(double x,
double y)
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar
coordinates (r, theta).
|
static double |
acoth(double a)
Returns the arc hyperbolic cotangent of a value.
|
static double |
acovers(double a)
Returns the arc coversine of a value; the returned angle is in the range -pi/2 through
pi/2.
|
static double |
acsc(double a)
Returns the arc cosecant of a value; the returned angle is in the range -pi/2 through
pi/2.
|
static double |
acsch(double a)
Returns the arc hyperbolic cosecant of a value.
|
static double |
aexsec(double a)
Returns the arc exsecant of a value; the returned angle is in the range 0.0 through
pi.
|
static double |
ahav(double a)
Returns the arc haversine of a value; the returned angle is in the range 0 to pi.
|
static double |
angle(double a,
double b,
double c)
Returns the angle \(\alpha\) opposite the side
a , given the three side-lengths of the
triangle. |
static double |
angle(Pair A,
Pair B,
Pair C)
Given a the coordinates of A, B and C, the apices of triangle ABC, returns the value of the
angle \(alpha\) at apex A.
|
static double |
asec(double a)
Returns the arc secant of a value; the returned angle is in the range 0.0 through pi.
|
static double |
asech(double a)
Returns the arc hyperbolic secant of a value.
|
static double |
asinh(double a)
Returns the arc hyperbolic sine of a value.
|
static double |
atanh(double a)
Returns the arc hyperbolic tangent of a value.
|
static double |
avers(double a)
Returns the arc versine of a value; the returned angle is in the range zero through
pi.
|
static double |
cosec(double a)
Returns the cosecant of an angle.
|
static double |
cot(double a)
Returns the cotangent of an angle.
|
static double |
coth(double a)
Returns the hyperbolic cotangent of a hyperbolic angle.
|
static double |
covers(double a)
Returns the coversed sine or coversine of an angle.
|
static double |
csch(double a)
Returns the hyperbolic cosecant of a hyperbolic angle.
|
static double |
exsec(double a)
Returns the exsecant of an angle.
|
static double |
hav(double a)
Returns the haversed sine or haversine of an angle.
|
static double |
sec(double a)
Returns the secant of an angle.
|
static double |
sech(double a)
Returns the hyperbolic secant of a hyperbolic angle.
|
static double |
sinc(double a)
Returns the unnormalized sinc function of an angle.
|
static double |
vers(double a)
Returns the versed sine or versine of an angle.
|
public static double angle(double a, double b, double c)
a
, given the three side-lengths of the
triangle.a
- the side opposite the angle to computeb
- the side bc
- the side cpublic static double angle(Pair A, Pair B, Pair C)
A
- a pair containing the coordinates of apex A, the angle at which is returnedB
- a pair containing the coordinates of apex BC
- a pair containing the coordinates of apex Cpublic static double cosec(double a)
NaN
or an infinity, then the result is NaN
.a
- an angle in radianspublic static double sec(double a)
NaN
or an infinity, then the result is NaN
.a
- an angle in radianspublic static double cot(double a)
NaN
or an infinity, then the result is NaN
.a
- an angle in radianspublic static double csch(double a)
NaN
then the result is NaN
.a
- a hyperbolic anglepublic static double sech(double a)
NaN
then the result is NaN
.a
- a hyperbolic anglepublic static double coth(double a)
NaN
then the result is NaN
.a
- a hyperbolic anglepublic static double vers(double a)
NaN
or an infinity then the result is NaN
.a
- an angle in radianspublic static double covers(double a)
NaN
or an infinity then the result is NaN
.a
- an angle in radianspublic static double hav(double a)
NaN
or an infinity then the result is NaN
.a
- an angle in radianspublic static double exsec(double a)
NaN
or an infinity then the result is NaN
.a
- an angle in radianspublic static double sinc(double a)
NaN
or an infinity then the result is NaN
.a
- an angle in radianspublic static double acot(double a)
NaN
, then the result is NaN
.NaN
.a
- the value whose arg cotangent is to be returnedpublic static double acot2(double x, double y)
NaN
, then the result is NaN
.double
value closest to pi.double
value closest to -pi.double
value closest to pi/2.double
value closest to -pi/2.double
value
closest to pi/4.double
value closest to 3*pi/4.double
value closest to -pi/4.double
value
closest to -3*pi/4.x
- the abscissa coordinatey
- the ordinate coordinatepublic static double asec(double a)
NaN
or its absolute value is less than 1, then the result is
NaN
.a
- the value whose arc secant is to be returnedpublic static double acsc(double a)
NaN
or its absolute value is less than 1, then the result is
NaN
.a
- the value whose arc cosecant is to be returnedpublic static double asinh(double a)
NaN
, then the result is NaN
.a
- the value whose arc hyperbolic sine is to be returnedpublic static double acosh(double a)
NaN
or its value is less than 1, then the result is
NaN
.a
- the value whose arc hyperbolic cosine is to be returnedpublic static double atanh(double a)
NaN
or its absolute value is greater than 1, then the result
is NaN
.a
- the value whose arc hyperbolic tangent is to be returnedpublic static double acoth(double a)
NaN
or its absolute value is less than 1, then the result is
NaN
.a
- the value whose arc hyperbolic cotangent is to be returnedpublic static double asech(double a)
NaN
, its value is negative or its value is greater than 1,
then the result is NaN
.a
- the value whose arc hyperbolic secant is to be returnedpublic static double acsch(double a)
NaN
, then the result is NaN
.a
- the value whose arc hyperbolic cosecant is to be returnedpublic static double aexsec(double a)
NaN
then the result is NaN
.a
- the value whose arc exsecant is to be returnedpublic static double avers(double a)
NaN
, negative or greater than 2 then the result is
NaN
.a
- the value whose arc versine is to be returnedpublic static double acovers(double a)
NaN
, negative or greater than 2 then the result is
NaN
.a
- the value whose arc coversine is to be returnedpublic static double ahav(double a)
NaN
, negative or greater than one then the result is
NaN
.a
- the value whose arc haversine is to be returnedCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.