ln

Returns the natural logarithm of the argument. If the argument is real and 0 or negative an error will result. If the argument is complex it will return a complex result even if the imaginary part is 0 and the real part negative. An error will always occur if both real and imaginary parts are zero.

Arguments

Number Type Compulsory Default Description

1

real/complex array

Yes

vector

Returns

Return type: real/complex array

Returns the natural logarithm of the argument.