CIMAG

Section: Linux Programmer's Manual (3)
Updated: 2002-07-28
Index JM Home Page roff page
 

名前

cimag, cimagf, cimagl - 複素数の虚部を取得する  

書式

#include <complex.h>

double cimag(double complex z);
float cimagf(float complex z);
long double cimagl(long double complex z);

-lm でリンクする。  

説明

cimag() 関数は複素数 z の虚部を返す。

次の関係が成立する: z = creal(z) + I * cimag(z)  

準拠

C99  

注意

gcc では __imag__ を使うこともできるが、 これは GNU による拡張である。  

関連項目

cabs(3), creal(3), complex(7)


 

Index

名前
書式
説明
準拠
注意
関連項目

This document was created by man2html, using the manual pages.
Time: 04:31:34 GMT, November 19, 2007