ctan函数
概要:
#include <complex.h> double complex ctan(double complex z);
描述:
该函数计算参数的复正切值。
复变正切函数的数学定义如下所示:
参数:
double complex z
参数为一个double complex类型的复数。
返回值:
函数返回参数z的复正切值。
范例:
|
|
输出:
ctan(1.0 + 1.0i) = 0.27 + 1.08i
相关内容:
ctanf | float complex类型的复变正切函数。 |
ctanl | long double complex类型的复变正切函数。 |