Calculeaf Features Blog Guide Pricing Open app

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.

The Functions dropdown on the Math tab, showing names grouped by category.
Functions inserts the same names as the list below, grouped under Stats, Matrix, Trig and More.

What the names assume about units

FamilyWhat to know
sin cos tanThey accept a plane angle carrying a unit, as in sin(30 deg), or a bare number read as radians.
asin acos atan atan2 arg angleThey return an angle in radians, which you can convert or pin like any other quantity.
ln log log10 log2 expThe 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 stdEach 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.
toto(quantity, "unit") converts and pins the display unit — see conversion with to().

Built-in names

  • sin
  • cos
  • tan
  • asin
  • acos
  • atan
  • atan2
  • sinh
  • cosh
  • tanh
  • sqrt
  • nthroot
  • cbrt
  • exp
  • log
  • log10
  • log2
  • ln
  • abs
  • floor
  • ceil
  • round
  • min
  • max
  • sum
  • factorial
  • re
  • im
  • conj
  • arg
  • angle
  • matrix
  • vec
  • zeros
  • ones
  • eye
  • diag
  • linspace
  • det
  • inv
  • tr
  • transpose
  • norm
  • cross
  • dot
  • trace
  • rank
  • solve
  • eigvals
  • eigenvals
  • eigvecs
  • eigenvecs
  • mean
  • median
  • std
  • cumsum
  • shape
  • size
  • range
  • rstep
  • range_step
  • kron
  • rotate
  • submatrix
  • vectorize
  • if
  • iif
  • while
  • while_n
  • nsum
  • nprod
  • diff
  • pdiff
  • nintegrate

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.