Functions > Logarithms And Powers


Note: The functions detailed in this Section also work for matrices. In that case the operation is performed on each individual value of the matrix.

01. exp 02. lg 03. ln 04. log
05. pow

exp

Raises the constant 'e' to the provided power. Can have one of the following forms:

exp(value)
exp(an_array)

If the second form is used, the result is an array of values obtained by raising 'e' to each member of the array respectively.

lg

Expects a single value or array of values. Calculates base 2 log of passed values.

ln

Expects a single value or array of values. Calculates natural log of passed values.

log

Expects a single value or array of values with an optional second parameter to specify the base. Calculates log 10 of passed values or array if single argument passed.

pow

Expects two arguments. Raises the first argument to the power second argument. Also works on arrays.