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

