asin - C complex.h

C examples for complex.h:asin

Type

function template

From


<complex>
<complex.h>

Description

Arc sine of complex

Prototype

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

Parameters

Parameter Description
xComplex value.

Return value

Arc sine of x.

Demo Code


#include <iostream>
#include <complex>

int main ()/*from   w ww  .j  a  v  a2 s  . c  o m*/
{
  std::complex<double> mycomplex (3.0,4.0);

  std::cout << "The Arc sine  value of " << mycomplex << " is " << std::asin(mycomplex) << '\n';

  return 0;
}

Related Tutorials