CSQRT
Section: Linux Programmer's Manual (3)
Updated: 2008-08-11
Index
JM Home Page
roff page
名前
csqrt, csqrtf, csqrtl - 複素数の平方根
書式
#include <complex.h>
double complex csqrt(double complex z);
float complex csqrtf(float complex z);
long double complex csqrtl(long double complex z);
-lm でリンクする。
説明
与えられた複素数の平方根を計算する。
但し、平方根のうち実数部が非負の値を返す。
実軸の負の部分に沿って分枝切断 (branch cut) がある。
(つまり、 eps を小さな正の実数とした場合、
csqrt(-1+eps*I) が I に近付いていき、
一方 csqrt(-1-eps*I) は -I に近付いていく、
ということである。)
バージョン
これらの関数は glibc バージョン 2.1 で初めて登場した。
準拠
C99.
関連項目
cabs(3),
cexp(3),
complex(7)
Index
- 名前
-
- 書式
-
- 説明
-
- バージョン
-
- 準拠
-
- 関連項目
-
This document was created by
man2html,
using the manual pages.
Time: 03:26:39 GMT, April 25, 2010