C examples for complex.h:sinh
function template
<complex> <complex.h>
template<class T> complex<T> sinh (const complex<T>& x);
Hyperbolic sine of complex
Parameter | Description |
---|---|
x | Complex value, representing an angle expressed in radians. |
Hyperbolic sine of x.
#include <iostream> // std::cout #include <complex> // std::complex, std::real int main ()/*from w w w . j a v a 2 s . co m*/ { std::complex<double> mycomplex (10.0,1.0); std::cout << "Real part: " << std::sin(mycomplex) << '\n'; return 0; }