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