Exponential and power - vectorized

All of the following functions take a numerical value, scalar or matrix, real or complex, as argument.


exp(x) exponential function
ln(x) natural logarithm . Parameter: base with default value
log10(x) : logarithm with base 10
log2(x) : logarithm with base 2
log(x) : logarithm with base base
sqrt(x) square root
cbrt(x) cubit root
sinh(x) hyperbolic sine
cosh(x) hyperbolic cosine
tanh(x) hyperbolic tangent

The function log has a parameter base, and log(x) is equal to . The default value of base is e. To change base to 3
>> global.log.base = 3;
To spawn a new copy of log with base 3
>> f = log[3];



oz 2009-12-22