C examples for complex.h:asinh
function template
<complex> <complex.h>
Arc hyperbolic sine of complex
template<class T> complex<T> asinh (const complex<T>& x);
Parameter | Description |
---|---|
x | Complex value. |
Arc hyperbolic sine of x.
#include <iostream> #include <complex> int main ()/*from w w w . ja v a 2 s . c o m*/ { std::complex<double> mycomplex (3.0,4.0); std::cout << "The Arc hyperbolic sine of " << mycomplex << " is " << std::asinh(mycomplex) << '\n'; return 0; }