C++ 複雜數庫 - exp



描述

它是複數的指數函式,返回複數 x 的以 e 為底的指數。

宣告

以下是 std::exp 的宣告。

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

C++11

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

引數

x − 這是一個複數值。

返回值

它返回複數 x 的以 e 為底的指數。

異常

complex.htm
廣告