erf

Autres langues

Langue: ja

Version: 2002-07-27 (openSuse - 09/10/07)

Section: 3 (Bibliothèques de fonctions)

̾Á°

erf, erff, erfl, erfc, erfcf, erfcl - ¸íº¹´Ø¿ô¤ÈÁêÊä¸íº¹´Ø¿ô

½ñ¼°


#include <math.h>



double erf(double x);


float erff(float x);
long double erfl(long double x); double erfc(double x);
float erfcf(float x);
long double erfcl(long double x);
-lm ¤Ç¥ê¥ó¥¯¤¹¤ë¡£

ÀâÌÀ

erf() ¤Ï x ¤Î¸íº¹´Ø¿ô¤òÊÖ¤¹´Ø¿ô¤Ç¡¢
erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(-t*t) dt

¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£ erfc() ´Ø¿ô¤Ï x ¤ÎÁêÊä¸íº¹´Ø¿ô¤Ç¤¢¤ê¡¢ 1.0 - erf(x) ¤Ç¤¢¤ë¡£

½àµò

SVr4, 4.3BSD, C99. float ÈÇ¤È long double ÈÇ¤Ï C99 ¤ÎÍ×µá»ÅÍͤǤ¢¤ë¡£

´ØÏ¢¹àÌÜ

cerf(3), exp(3)