cosh(_:)
The hyperbolic cosine of x
.
static func cosh(_ x: Self) -> Self
The hyperbolic cosine of x
.
static func cosh(_ x: Self) -> Self
import RealModule
protocol ElementaryFunctions : AdditiveArithmetic
A type that has elementary functions available.
static func acos(_ x: Self) -> Self
The arccosine (inverse cosine) of x
.
static func acosh(_ x: Self) -> Self
The inverse hyperbolic cosine of x
.
static func asin(_ x: Self) -> Self
The arcsine (inverse sine) of x
.
static func asinh(_ x: Self) -> Self
The inverse hyperbolic sine of x
.
static func atan(_ x: Self) -> Self
The arctangent (inverse tangent) of x
.
static func atanh(_ x: Self) -> Self
The inverse hyperbolic tangent of x
.
static func cos(_ x: Self) -> Self
The cosine of x
.
static func exp(_ x: Self) -> Self
The exponential function e^x whose base e
is the base of the natural logarithm.
static func expMinusOne(_ x: Self) -> Self
exp(x) - 1, computed in such a way as to maintain accuracy for small x.
static func log(_ x: Self) -> Self
The natural logarithm of x
.
static func log(onePlus x: Self) -> Self
log(1 + x), computed in such a way as to maintain accuracy for small x.
static func pow(_ x: Self, _ n: Int) -> Self
x
raised to the nth power.
static func pow(_ x: Self, _ y: Self) -> Self
exp(y * log(x)) computed with additional internal precision.
static func root(_ x: Self, _ n: Int) -> Self
The nth root of x
.
static func sin(_ x: Self) -> Self
The sine of x
.
static func sinh(_ x: Self) -> Self
The hyperbolic sine of x
.
static func sqrt(_ x: Self) -> Self
The square root of x
.
static func tan(_ x: Self) -> Self
The tangent of x
.
static func tanh(_ x: Self) -> Self
The hyperbolic tangent of x
.