Reference Complex inverse functions
lzc_arccotangent
The principal arccotangent of a complex number, arctan(1/z).
long lzc_arccotangent( CLZComplex* leftOperand, CLZComplex* targetNumber = nullptr );
arctan(1/z), as lz_arccotangent is arctan(1/x), so arccot(−1) is −π/4. Each part correctly rounded, the whole angle written in the thread's unit. ±i are poles.
Examples
| Call | Answer |
|---|---|
lzc_arccotangent( 1 + 1i ) | 0.553574358897045251508532730089268520 − 0.402359478108525093650189833306546910i |
lzc_arccotangent( −1 + 0i ) | −0.785398163397448309615660845819875721 + 0i |
Each answer is what Addaptic printed for the call, in radians, at 36 places unless a setting is shown.
Returns
kNoError (0) when the answer is written. Otherwise an error code, with the answer flagged infinite or not-a-number; see Errors and flags.
See also
lzc_cotangentThe cotangent of a complex angle.lzc_arctangentThe principal arctangent of a complex number.lz_arccotangentThe angle whose cotangent is the number, arctan(1/x).