Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Mathematical Functions
Topic: Exponential and Logarithmic Functions
See also: exp expm1 log log10

Function: log1p
Description: log1p computes the natural logarithm of (1+x) accurately even for tiny x.


Usage: z = log1p (x)
Input:
x array
Output:
z array

Note:

Example:



log1p (0:5)

Result:



Contents of log1p

[1,]        0 

[2,]  0.69315 

[3,]   1.0986 

[4,]   1.3863 

[5,]   1.6094 

[6,]   1.7918 

Example:



expm1 (0:5)

Result:



Contents of expm1

[1,]        0 

[2,]   1.7183 

[3,]   6.3891 

[4,]   19.086 

[5,]   53.598 

[6,]   147.41 


Group: Mathematical Functions
Topic: Exponential and Logarithmic Functions
See also: exp expm1 log log10

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 21.9.2000