资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

c语言erfc函数怎么用 c语言erase函数

在C语言中erfc函数怎么表示,也就是x的误差补偿函数,急求高人指点。。。

float用printf("%f"来表示,double用printf("%ld"来表示。

创新互联专业为企业提供邵武网站建设、邵武做网站、邵武网站设计、邵武网站制作等企业网站建设、网页设计与制作、邵武企业网站模板建站服务,十年邵武做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。

把英文帮助找出来了,自己看看吧。

函数原型:

#include math.h

double erfc(double x);

float erfcf(float x);

long double erfcl(long double x);

Link with -lm. 编译时需要链接 -lm

DESCRIPTION 说明

The erfc() function returns the complementary error function of x, that is, 1.0 - erf(x).

RETURN VALUE 返回值

On success, these functions return the complementary error function of x, a value in the range [0,2].

If x is a NaN, a NaN is returned.

If x is +0 or -0, 1 is returned.

If x is positive infinity, +0 is returned.

If x is negative infinity, +2 is returned.

If the function result underflows and produces an unrepresentable value, the return value is 0.0.

If the function result underflows but produces a representable (i.e., subnormal) value, that value is returned, and a range error occurs.

C语言中怎么用erfc函数?我的是vc6,函数库里面没有这个函数。求代码〒_〒

void calroot(double a, double b, double c)

{

double dert;

double value;

if (a == 0)

{

printf("元二程!\n");

return;

}

dert = b *b - 4 * a * c;

erfc函数怎么算?

erfc函数计算公式是:erf(∞)=1和erf(-x)=-erf(x)。

在数学中,误差函数是一个非基本函数(即不是初等函数),其在概率论、统计学以及偏微分方程中都有广泛的应用。高斯函数的不定积分是误差函数。在自然科学、社会科学、数学以及工程学等领域都有高斯函数的身影。

应用

1、计算化学中所用的分子轨道是名为高斯轨道的高斯函数的线性组合(参见量子化学中的基组)。

2、在数学领域,高斯函数在厄尔米特多项式的定义中起著重要作用。

3、高斯函数与量子场论中的真空态相关。

4、在光学以及微波系统中有高斯波束的应用。

5、高斯函数在图像处理中用作预平滑核。


网页名称:c语言erfc函数怎么用 c语言erase函数
文章路径:http://cdkjz.cn/article/ddshchi.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220