C examples for complex.h:asin
function template
<complex> <complex.h>
Arc sine of complex
template<class T> complex<T> asin (const complex<T>& x);
Parameter | Description |
---|---|
x | Complex value. |
Arc sine of x.
#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; }