TITLE(Log @@ Logarithms and Exponentials)
USAGE(
log(x)
log10(x)
log2(x)
exp(x)
)
ALIAS(log)
ALIAS(log10)
ALIAS(log2)
ALIAS(exp)
DESCRIPTION(
LANG(log) computes natural logarithms,
LANG(log10) computes common logarithms
LANG(log2) computes binary (i.e. base 2) logarithms
and
LANG(exp) computes the exponential function.
PARA
Each of these functions takes a single numeric or complex
vector as argument and returns a vector of the same
length containing the transformed values.)
SEEALSO(
LANG(LINK(Trig)), LANG(LINK(Math)), LANG(LINK(Arithmetic)).
)
EXAMPLES(
log10(10^7) == 10^log10(7)
log2(2^pi) == 2^log2(pi)
Mod(pi - log(exp(pi*1i)) / 1i) < .Machine$double.eps
Mod(1+exp(pi*1i)) < .Machine$double.eps
)
