C++ Complex Library - Exp



Description

It is an exponential of complex and returns the base-e exponential of the complex number x.

Declaration

Following is the declaration for std::exp.

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

C++11

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

Parameters

x − It is a complex value.

Return Value

It returns the base-e exponential of the complex number x.

Exceptions

none

complex.htm
Advertisements