erf函数
概要:
#include <math.h> double erf(double x);
描述:
该函数计算参数的误差函数。
参数:
double x
参数为一个double类型的浮点数。
返回值:
函数返回。
范例:
|
|
输出:
The error function of 2.000000 is 0.995322.
相关内容:
erff | float类型的误差函数。 |
erfl | long double类型的误差函数。 |