amath
1.8.5
Simple command line calculator
|
#include "prim.h"
Go to the source code of this file.
Functions | |
complex | ctan (complex z) |
Tangent of a complex number. More... | |
Tangent of a complex number.
Calculated as in Open Office:
https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_IMTAN_function
a+bi sin(2.0 * a) real = ---------------------------— cos(2.0 * a) + cosh(2.0 * b)sinh(2.0 * b)imag = ---------------------------— cos(2.0 * a) + cosh(2.0 * b)
Definition at line 55 of file ctan.c.
References cimag(), cos(), cosh(), cpack(), creal(), sin(), and sinh().
Referenced by ComplexNumber::Tangent().