The following methods are all part of the func_trigonometric methods.
Function parameters specified as angle are assumed to be in units of radians.
- acos function
- acosh function
- asin function
- asinh function
- atan function
- atanh function
- cos function
- cosh function
- degrees function
- radians function
- sin function
- sinh function
- tan function
- tanh function
Arc cosine. Returns an angle whose cosine is x
. The range of values returned by this function
is [0, PI]
. Results are undefined if |x| > 1
.
Returns acos(c)
for every component c
of x
.
Arc hyperbolic cosine; returns the non-negative inverse of cosh
. Results are undefined
if x < 1
.
Returns acosh(c)
for every component c
of x
.
Arc sine. Returns an angle whose sine is x
. The range of values returned by this function
is [0, PI]
. Results are undefined if |x| > 1
.
Returns asin(c)
for every component c
of x
.
Arc hyperbolic sine; returns the inverse of sinh
.
Returns asinh(c)
for every component c
of x
.
Arc tangent. Returns an angle whose tangent is y_over_x
. The range of values returned by
this function is [-PI / 2, PI / 2]
.
Returns atan(c)
for every component c
of x
.
Arc tangent. Returns an angle whose tangent is y / x
. The signs of x
and y
are used to
determine what quadrant the angle is in. The range of values returned by this function
is [-PI, PI]
. Results are undefined if x
and y
are both 0
.
Returns atan(y[i], x[i])
for every index i
.
Arc hyperbolic tangent; returns the inverse of tanh
. Results are undefined if abs(x) >= 1
.
Returns atanh(c)
for every component c
of x
.
The standard trigonometric cosine function. The values returned by this function will range
from [-1, 1]
.
Returns cos(c)
for every component c
of x
.
Returns the hyperbolic cosine function, (exp(angle) + exp(-angle)) / 2
.
Returns cosh(c)
for every component c
of x
.
Converts radians to degrees and returns the result.
Returns degrees(c)
for every component c
of x
.
Converts degrees to radians and returns the result.
Returns radians(c)
for every component c
of x
.
The standard trigonometric sine function. The values returned by this function will range
from [-1, 1]
.
Returns sin(c)
for every component c
of x
.
Returns the hyperbolic sine function, (exp(angle) - exp(-angle)) / 2
.
Returns sinh(c)
for every component c
of x
.
The standard trigonometric tangent function.
Returns tan(c)
for every component c
of x
.
Returns the hyperbolic tangent function, sinh(angle) / cosh(angle)
Returns tanh(c)
for every component c
of x
.