Skip to content
Chung Leong edited this page Jan 10, 2022 · 4 revisions

clog - Natural logarithm of complex number

float[2] clog( float[2] $z )

clog() computes natural logarithm of complex number z.

Parameters:

z - The complex number to process. It can be one two-element array or an array of two-element arrays. z[0] should contain the real part and z[1] should contain the imaginary part.

Return Value:

The logarithm of z to base e. The size of the return value will match that of z.

Version

1.0 and above.

Clone this wiki locally