asinh - C complex.h

C examples for complex.h:asinh

Type

function template

From


<complex>
<complex.h>

Description

Arc hyperbolic sine of complex

Prototype

template<class T> 
complex<T> asinh (const complex<T>& x);

Parameters

Parameter Description
xComplex value.

Return value

Arc hyperbolic sine of x.

Demo Code


#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;
}

Related Tutorials