Calculeaf Features Blog Guide Pricing Open app

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 ▾.

The Functions dropdown on the Math ribbon, open on the Trig category.
Functions has its categories down the left. Click a name to insert it at the caret.

Insert from the ribbon

  1. 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.
  2. Open the Math tab.
  3. 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

  • Trigsin, cos, tan, asin, acos, atan, atan2, the arcsin spellings, and sinh / cosh / tanh. Anything an inverse function hands back carries radians, so convert with to(theta, "deg") when you want degrees.
  • Logs and rootssqrt, cbrt, nthroot, exp, ln, log, log10, log2. Two traps: log(x) is the natural log unless you pass a base, as in log(100, 10), and nthroot takes the degree first, so a cube root of 27 is nthroot(3, 27).
  • Roundingabs, floor, ceil, round. round accepts an optional digit count: round(3.14159, 2) gives 3.14.
  • Statsmin, max, sum, mean, median, std. Each takes loose arguments or one array, so mean(1, 2, 3) and mean(vec(1, 2, 3)) both give 2.
  • Complexre, im, conj, arg.
  • Constants — the ribbon offers π, e, ∞ and g. Typed, those are pi, e, inf, g, with i or j for 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.