Function catalog
Type the name when you know it. sqrt, mean and
atan2 all work from the keyboard. When you do not, open
Functions ▾ on the Math tab. It groups the catalogue into
Stats, Matrix, Trig and
More. Click a name and it lands in the focused math region
with its parentheses already in place.
Operators and the matrix palette are not in here. They are under Operators ▾.
Insert from the ribbon
- Click into a math region so the caret is in the field. The panel inserts at the caret, and does nothing if no region has focus.
- Open the Math tab.
- Choose Functions ▾, pick a category, then click a function. Parentheses and argument placeholders appear so you can tab between them.
Operators ▾ is the other half of the catalogue, split into
Algebra, Compare, Matrix, Calculus and Define. Go there for :=,
ranges, the matrix helpers, and the calculus tokens. Two names appear in both
panels: if and while are under Functions ▾ → More as
well as Operators ▾ → Compare.
The groups you reach for most
- Trig —
sin,cos,tan,asin,acos,atan,atan2, thearcsinspellings, andsinh/cosh/tanh. Anything an inverse function hands back carries radians, so convert withto(theta, "deg")when you want degrees. - Logs and roots —
sqrt,cbrt,nthroot,exp,ln,log,log10,log2. Two traps:log(x)is the natural log unless you pass a base, as inlog(100, 10), andnthroottakes the degree first, so a cube root of 27 isnthroot(3, 27). - Rounding —
abs,floor,ceil,round.roundaccepts an optional digit count:round(3.14159, 2)gives 3.14. - Stats —
min,max,sum,mean,median,std. Each takes loose arguments or one array, somean(1, 2, 3)andmean(vec(1, 2, 3))both give 2. - Complex —
re,im,conj,arg. - Constants — the ribbon offers π, e, ∞ and g. Typed, those are
pi,e,inf,g, withiorjfor the imaginary unit.
When a unit is rejected
ln(), log(), exp() and the trig
functions need a dimensionless argument. Otherwise the answer would depend on
which unit you happened to type. A length inside ln() reports
ln() requires a dimensionless argument. Divide by a reference
value first.
Plane angles are the exception. A quantity in degrees or radians is converted
before evaluation, so sin(30 deg) works. The complete typed list,
generated from the evaluator, is in
Function list.
Autocomplete
With Autocomplete switched on from Home → Settings, typing the first letters of a function or of a name you have already defined opens a suggestion list. Tab accepts the highlighted entry. Escape dismisses the list.