Standard mathematical and trigonometric functions. Trigonometric functions work with angles in radians.
sin( theta )
theta
(floating point): an angle, in radians.
cos( theta )
theta
(floating point): an angle, in radians.
tan( theta )
theta
(floating point): an angle, in radians.
asin( x )
x
(floating point): the value whose arc sine is to be returned.
acos( x )
x
(floating point): the value whose arc cosine is to be returned.
atan( x )
x
(floating point): the value whose arc tangent is to be returned.
exp( x )
x
(floating point): the exponent to raise e to.
log10( x )
x
(floating point): argument
ln( x )
x
(floating point): argument
sqrt( x )
x
(floating point): a value.
x
.
If the argument is NaN or less than zero, the result is NaN.
hypot( xs, ... )
xs
(floating point, one or more): one or more numeric values
atan2( y, x )
x
,y
)
to polar (r
,theta
).
This method computes the phase
theta
by computing an arc tangent
of y/x
in the range of -pi to pi.
y
(floating point): the ordinate coordinate
x
(floating point): the abscissa coordinate
theta
component (radians) of the point
(r
,theta
)
in polar coordinates that corresponds to the point
(x
,y
) in Cartesian coordinates.
pow( a, b )
a
(floating point): the base.
b
(floating point): the exponent.
ab
.
sinh( x )
x
(floating point): parameter
cosh( x )
x
(floating point): parameter
tanh( x )
x
(floating point): parameter
asinh( x )
x
(floating point): parameter
acosh( x )
x
(floating point): parameter
atanh( x )
x
(floating point): parameter
E
PI
Infinity
NaN
NaN!=NaN
).
For most purposes this is equivalent to the blank value.
RANDOM