C++ Complex Library - Sin



Description

It is a sine of complex and returns the sine of the complex number x.

Declaration

Following is the declaration for std::sin.

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

C++11

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

Parameters

x − It is a complex value.

Return Value

It returns the sine of the complex number x.

Exceptions

none

complex.htm
Advertisements
close