-
Notifications
You must be signed in to change notification settings - Fork 14
carg
Chung Leong edited this page Jan 10, 2022
·
4 revisions
carg - Argument of complex number
float carg( float[2] $z )
carg() returns the argument complex number z.
z - The 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.
The absolute value of z. If z is a multidimensional array, the return value will be an array whose size is the number of subarrays in z.
1.0 and above.