C++ 複數庫 - Tan



描述

它是複數的正切函式,並返回複數 x 的正切值。

宣告

以下是 std::tan 的宣告。

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

C++11

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

引數

x − 它是一個複數值。

返回值

它返回複數 x 的正切值。

異常

complex.htm
廣告