< Back to the main page

Intrinsic Functions

Function Description
aggregate(&x) Retrieving the aggregate value of metric x
stdev(x1, x2, ..., xn) Standard deviation of a series of metrics
min(x1, x2, ..., xn) Minimum value
max(x1, x2, ..., xn) Maximum value
sum(x1, x2, ..., xn) Sum of values
avg(x1, x2, ..., xn) Average
pi() Return the value of pi
e() Return the value of an exponential
rand() random number
sin(x) sine
cos(x) cosine
tan(x) tangent
sqrt(x) Square root
abs(x) Absolute value
ceil(x) Ceiling
floor(x) Floor
exp(x) Exponent
lg(x) Logarithm
ln(x) Natural logarithm
sign(x) Change of sign. Equivalence to -1 * x
round(x) Round
fact(n) Factorial of n
cosh(x) Hyperbolic cosine
sinh(x) Hyperbolic sine
tanh(x) Hyperbolic tangent
acos(x) Arc cosine
asin(x) Arc sine
atan(x) Arc tangent
acosh(x) Hyperbolic arc cosine
asinh(x) Hyperbolic arc sine
atanh(x) Hyperbolic arc tangent
pow(x, y) x to the power of y. Equivalence to x^y
mod(x, y) x modulus of y
combin(n, r) Pascal triangle combination. Equivalence to n! / (r! * (n - r)!)
log(x):log(x, y) Logarithm