Main Functions
Arithmetic (opens in a new tab)
- abs(x) (opens in a new tab)
- add(x, y) (opens in a new tab)
- cbrt(x) (opens in a new tab)
- ceil(x) (opens in a new tab)
- cube(x) (opens in a new tab)
- divide(x, y) (opens in a new tab)
- dotDivide(x, y) (opens in a new tab)
- dotMultiply(x, y) (opens in a new tab)
- dotPow(x, y) (opens in a new tab)
- exp(x) (opens in a new tab)
- fix(x) (opens in a new tab)
- floor(x) (opens in a new tab)
- gcd(a, b) (opens in a new tab)
- hypot(a, b, ...) (opens in a new tab)
- lcm(a, b) (opens in a new tab)
- log(x [, base]) (opens in a new tab)
- log10(x) (opens in a new tab)
- mod(x, y) (opens in a new tab)
- multiply(x, y) (opens in a new tab)
- norm(x [, p]) (opens in a new tab)
- nthRoot(a) (opens in a new tab)
- pow(x, y) (opens in a new tab)
- round(x [, n]) (opens in a new tab)
- sign(x) (opens in a new tab)
- sqrt(x) (opens in a new tab)
- square(x) (opens in a new tab)
- subtract(x, y) (opens in a new tab)
- unaryMinus(x) (opens in a new tab)
- unaryPlus(x) (opens in a new tab)
- xgcd(a, b) (opens in a new tab)
Bitwise (opens in a new tab)
- bitAnd(x, y) (opens in a new tab)
- bitNot(x) (opens in a new tab)
- bitOr(x, y) (opens in a new tab)
- bitXor(x, y) (opens in a new tab)
- leftShift(x, y) (opens in a new tab)
- rightArithShift(x, y) (opens in a new tab)
- rightLogShift(x, y) (opens in a new tab)
Combinatorics (opens in a new tab)
- bellNumbers(n) (opens in a new tab)
- catalan(n) (opens in a new tab)
- composition(n, k) (opens in a new tab)
- stirlingS2(n, k) (opens in a new tab)
Geometry (opens in a new tab)
- distance([x1, y1], [x2, y2]) (opens in a new tab)
- intersect(endPoint1Line1, endPoint2Line1, endPoint1Line2, endPoint2Line2) (opens in a new tab)
Probability (opens in a new tab)
- combinations(n, k) (opens in a new tab)
- factorial(n) (opens in a new tab)
- kldivergence(x, y) (opens in a new tab)
- multinomial(a) (opens in a new tab)
- permutations(n [, k]) (opens in a new tab)
- pickRandom(array) (opens in a new tab)
- randomInt([min, max]) (opens in a new tab)
Relational (opens in a new tab)
- compare(x, y) (opens in a new tab)
- deepEqual(x, y) (opens in a new tab)
- equal(x, y) (opens in a new tab)
- larger(x, y) (opens in a new tab)
- largerEq(x, y) (opens in a new tab)
- smaller(x, y) (opens in a new tab)
- smallerEq(x, y) (opens in a new tab)
- unequal(x, y) (opens in a new tab)
Statistics (opens in a new tab)
- max(a, b, c, ...) (opens in a new tab)
- mean(a, b, c, ...) (opens in a new tab)
- median(a, b, c, ...) (opens in a new tab)
- min(a, b, c, ...) (opens in a new tab)
- mode(a, b, c, ...) (opens in a new tab)
- prod(a, b, c, ...) (opens in a new tab)
- quantileSeq(A, prob[, sorted]) (opens in a new tab)
- std(a, b, c, ...) (opens in a new tab)
- sum(a, b, c, ...) (opens in a new tab)
- var(a, b, c, ...) (opens in a new tab)
Trigonometry (opens in a new tab)
- acos(x) (opens in a new tab)
- acosh(x) (opens in a new tab)
- acot(x) (opens in a new tab)
- acoth(x) (opens in a new tab)
- acsc(x) (opens in a new tab)
- acsch(x) (opens in a new tab)
- asec(x) (opens in a new tab)
- asech(x) (opens in a new tab)
- asin(x) (opens in a new tab)
- asinh(x) (opens in a new tab)
- atan(x) (opens in a new tab)
- atan2(y, x) (opens in a new tab)
- atanh(x) (opens in a new tab)
- cos(x) (opens in a new tab)
- cosh(x) (opens in a new tab)
- cot(x) (opens in a new tab)
- coth(x) (opens in a new tab)
- csc(x) (opens in a new tab)
- csch(x) (opens in a new tab)
- sec(x) (opens in a new tab)
- sech(x) (opens in a new tab)
- sin(x) (opens in a new tab)
- sinh(x) (opens in a new tab)
- tan(x) (opens in a new tab)
- tanh(x) (opens in a new tab)