Group: Mathematical Functions
Subgroup: Exponential and Logarithmic Functions
See also: exp expm1 log10 log1p

Function: log
Description: log returns the natural logarithm of the elements of an array.

Usage: z = log (x)
Input:
x d1 x d2 x ... x dn array
Output:
z d1 x d2 x ... x dn array

Notes:
if this function is applied to negative values it will return -Inf.

Example:
log (exp((1:5)')) 

Result:
[1,]     1     2     3     4     5 





Group: Mathematical Functions
Subgroup: Exponential and Logarithmic Functions
See also: exp expm1 log10 log1p

© XploRe, generated on 6.3.98 7:17 .