CABS
Section: Linux Programmer's Manual (3)
Updated: 2008-08-06
Index
JM Home Page
roff page
 
名前
cabs, cabsf, cabsl - 複素数の絶対値
 
書式
#include <complex.h>
double cabs(double complex z);
float cabsf(float complex z);
long double cabsl(long double complex z);
-lm でリンクする。
 
説明
cabs()
関数は複素数
z
の絶対値を返す。
結果は実数である。
 
バージョン
これらの関数は glibc バージョン 2.1 で初めて登場した。
 
準拠
C99.
 
備考
実際には、この関数は
hypot(a, b)
(sqrt(a*a + b*b)
と等価) へのエイリアスになっている。
 
関連項目
abs(3),
cimag(3),
hypot(3),
complex(7)
 Index
- 名前
- 
- 書式
- 
- 説明
- 
- バージョン
- 
- 準拠
- 
- 備考
- 
- 関連項目
- 
This document was created by
man2html,
using the manual pages.
Time: 03:26:38 GMT, April 25, 2010