csqrtのヘルプ・マニュアル
日本語 英語
csqrt --help
man csqrt
CSQRT(3) Linux Programmer’s Manual CSQRT(3)
名前
csqrt, csqrtf, csqrtl - 複素数の平方根
書式
#include
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)
2008-08-11 CSQRT(3)
CSQRT(3) Linux Programmer’s Manual CSQRT(3)
NAME
csqrt, csqrtf, csqrtl - complex square root
SYNOPSIS
#include
double complex csqrt(double complex z);
float complex csqrtf(float complex z);
long double complex csqrtl(long double complex z);
Link with -lm.
DESCRIPTION
Calculate the square root of a given complex number, with non-negative
real part, and with a branch cut along the negative real axis. (That
means that csqrt(-1+eps*I) will be close to I while csqrt(-1-eps*I)
will be close to -I, if eps is a small positive real number.)
VERSIONS
These functions first appeared in glibc in version 2.1.
CONFORMING TO
C99.
SEE ALSO
cabs(3), cexp(3), complex(7)
COLOPHON
This page is part of release 3.22 of the Linux man-pages project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
2008-08-11 CSQRT(3)