cacos - chung-leong/qb GitHub Wiki

czcos - Arc cosine of complex number

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

cacos() returns the arc cosine of 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 arc cosine of z. The size of the return value will match that of z.

Version

2.3 and above.