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

