预订演示

请注意 : 本帮助页面不适用于最新版本的Enterprise Architect. 最新的帮助文档在这里.

前页 后页

ccot

Complex circular cotangent.

SYNOPSIS:

void ccot();
cmplx z, w;

ccot(&z, &w);

DESCRIPTION:

If
z = x + iy,

then

sin 2x - i sinh 2y
w = --------------------.
cosh 2y - cos 2x

On the real axis, the denominator has zeros at even multiples of PI/2. Near these points it is evaluated by a Taylor series.

ACCURACY:

Relative error:
arithmetic domain # trials peak rms
DEC -10,+10 3000 6.5e-17 1.6e-17
IEEE -10,+10 30000 9.2e-16 1.2e-16

Also tested by ctan * ccot = 1 + i0.