Function | Arguments | Returns |
abs(x) | any | absolute value of x, | x|; same type |
abs(x) | complex | length of x, |
acos(x) | any | cos-1x (inverse cosine) in radians |
arg(x) | complex | the phase of x in radians |
asin(x) | any | sin-1x (inverse sin) in radians |
atan(x) | any | tan-1x (inverse tangent) in radians |
besj0(x) | radians | j0 Bessel function of x |
besj1(x) | radians | j1 Bessel function of x |
besy0(x) | radians | y0 Bessel function of x |
besy1(x) | radians | y1 Bessel function of x |
ceil(x) | any | ⌈x⌉, smallest integer not less than x (real part) |
cos(x) | radians | cos x, cosine of x |
cosh(x) | radians | cosh x, hyperbolic cosine of x |
exp(x) | any | ex, exponential function of x |
floor(x) | any | ⌊x⌋, largest integer not greater than x (real part) |
imag(x) | complex | imaginary part of x as a real number |
int(x) | real | integer part of x, truncated toward zero |
log(x) | any | logex, natural logarithm (base e) of x |
log10(x) | any | log10x, logarithm (base 10) of x |
real(x) | any | real part of x |
sgn(x) | any | 1 if x > 0, -1 if x < 0, 0 if x = 0. imag(x) ignored |
sin(x) | radians | sin x, sine of x |
sinh(x) | radians | sinh x, hyperbolic sine x |
sqrt(x) | any | , square root of x |
tan(x) | radians | tan x, tangent of x |
tanh(x) | radians | tanh x, hyperbolic tangent of x |