mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
3.0 KiB
3.0 KiB
Function reference (categorical)
arithmetic
- abs(x)
- add(x, y)
- ceil(x)
- cube(x)
- divide(x, y)
- dotDivide(x, y)
- dotMultiply(x, y)
- dotPow(x, y)
- exp(x)
- fix(x)
- floor(x)
- gcd(a, b)
- lcm(a, b)
- log(x)
- log10(x)
- mod(x, y)
- multiply(x, y)
- norm(x)
- pow(x, y)
- round(x)
- sign(x)
- sqrt(x)
- square(x)
- subtract(x, y)
- unaryMinus(x)
- unaryPlus(x)
- xgcd(a, b)
comparison
- compare(x, y)
- deepEqual(x, y)
- equal(x, y)
- larger(x, y)
- largerEq(x, y)
- smaller(x, y)
- smallerEq(x, y)
- unequal(x, y)
complex
construction
- bignumber(x)
- boolean(x)
- complex()
- index(range1, range2, ...)
- matrix()
- number(value)
- parser()
- select(value)
- string(value)
- unit(unit : string)
expression
matrix
- concat(A, B, C, ...)
- det(x)
- diag(X)
- eye(n)
- inv(x)
- ones(m)
- range(str [, includeEnd])
- resize(x, size)
- size(x)
- squeeze(x)
- subset(value, index)
- transpose(x)
- zeros(m)
probability
- combinations(n, k)
- distribution(name)
- factorial(n)
- permutations(n)
- pickRandom(array)
- random()
- randomInt()
statistics
- max(a, b, c, ...)
- mean.mean(a, b, c, ...)
- mean.median(a, b, c, ...)
- min(a, b, c, ...)
- prod(a, b, c, ...)
- std(a, b, c, ...)
- sum(a, b, c, ...)
- var(a, b, c, ...)
trigonometry
- acos(x)
- asin(x)
- atan(x)
- atan2(y, x)
- cos(x)
- cosh(x)
- cot(x)
- coth(x)
- csc(x)
- csch(x)
- sec(x)
- sech(x)
- sin(x)
- sinh(x)
- tan(x)
- tanh(x)