Function list
Every name below is a built-in you can call from a math region. The list
carries names only, no signatures, because arity varies:
sqrt(x) takes one argument,
atan2(y, x) and nthroot(n, x) take two with
the root order first, linspace(a, b, n) takes three. The
multi-argument forms are documented where they get used —
Function catalog for how the
ribbon groups them under Functions ▾ and
Operators ▾,
Matrices for the constructors,
Given/solve for solving, and
Calculus for
diff, nintegrate, nsum and
nprod.
What the names assume about units
| Family | What to know |
|---|---|
sin cos tan | They accept a plane angle carrying a unit, as in sin(30 deg), or a bare number read as radians. |
asin acos atan atan2 arg angle | They return an angle in radians, which you can convert or pin like any other quantity. |
ln log log10 log2 exp | The argument must be dimensionless — ln(5 m) fails with ln() requires a dimensionless argument. log(x) is a natural log unless you pass a base, as in log(x, 10). |
min max sum mean median std | Each takes either a vector or a bare argument list, so mean(1, 2, 3) and mean(v) both work, and units carry through to the answer. |
to | to(quantity, "unit") converts and pins the display unit — see conversion with to(). |
Built-in names
sincostanasinacosatanatan2sinhcoshtanhsqrtnthrootcbrtexploglog10log2lnabsfloorceilroundminmaxsumfactorialreimconjarganglematrixveczerosoneseyediaglinspacedetinvtrtransposenormcrossdottraceranksolveeigvalseigenvalseigvecseigenvecsmeanmedianstdcumsumshapesizerangersteprange_stepkronrotatesubmatrixvectorizeifiifwhilewhile_nnsumnproddiffpdiffnintegrate
Constants: pi, e, g, inf, i, j.
g is standard gravity, 9.80665 m/s², so it arrives with
units attached; i and j are both the imaginary
unit.