amath
1.8.5
Simple command line calculator
|
#include "prim.h"
Go to the source code of this file.
Functions | |
complex | cacot (complex z) |
Inverse cotangent of complex number. More... | |
Inverse cotangent of complex number.
Inverse cotangent expressed using complex logarithms:
arccot z = i/2 * (log(1 - i/z) - log(1 + i/z))
More info is available at Wikipedia:
https://wikipedia.org/wiki/Inverse_trigonometric_functions#Logarithmic_forms
Definition at line 42 of file cacot.c.
References cadd(), cdiv(), clog(), cmul(), cpack(), and csub().
Referenced by ComplexNumber::ArcCotangent().