Mathematical functions
| Name | Description |
|---|---|
| abs | Calculates the absolute value of the input. |
| acos | Returns the angle whose cosine is the specified number (the inverse operation of cos()). |
| asin | Returns the angle whose sine is the specified number (the inverse operation of sin()). |
| atan | Returns the angle whose tangent is the specified number (the inverse operation of tan()). |
| atan2 | Calculates the angle, in radians, between the positive x-axis and the ray from the origin to the point (y, x). |
| cos | Returns the cosine function. |
| cot | Returns the cotangent function. |
| degrees | Converts angle value in radians into value in degrees. |
| exp | The base-e exponential function of x: e^x. |
| exp10 | The base-10 exponential function of x: 10^x. |
| exp2 | The base-2 exponential function of x: 2^x. |
| gamma | Computes the gamma function. |
| isfinite | Returns whether input is a finite value (neither infinite nor NaN). |
| isinf | Returns whether input is an infinite (positive or negative) value. |
| isint | Returns whether input is an integer (positive or negative) value. |
| isnan | Returns whether input is a Not a Number (NaN) value. |
| log | Returns the natural logarithm function. |
| log10 | Returns the common (base-10) logarithm function. |
| log2 | Returns the base-2 logarithm function. |
| loggamma | Computes log of absolute value of the gamma function. |
| max_of | Returns the largest of the provided values. |
| min_of | Returns the smallest of the provided values. |
| not | Reverses the value of its bool argument. |
| pi | Returns the constant value of Pi (π). |
| pow | Returns a result of raising to power. |
| radians | Converts angle value in degrees into value in radians. |
| rand | Returns pseudo-random numbers. |
| range | Returns a dynamic array of evenly spaced values. |
| round | Returns the rounded source to the specified precision. |
| set_difference | Returns the difference between two arrays. |
| set_has_element | Determines if a set contains a specific value. |
| set_intersect | Returns the intersection of two arrays. |
| set_union | Returns the union of two arrays. |
| sign | Sign of a numeric expression. |
| sin | Returns the sine function. |
| sqrt | Returns the square root function. |
| tan | Returns the tangent function. |
Browse by theme#
Arithmetic and utilities
Absolute value, sign, rounding, minimum and maximum of arguments, random numbers and ranges.
Checks
Test whether a number is finite, infinite, an integer or not a number.
Exponents and logarithms
Exponents, logarithms, powers, square roots and the gamma function.
Sets
Union, intersection and difference of arrays treated as sets, and membership tests.
Trigonometry
Trigonometric functions, their inverses, and conversions between degrees and radians.