erf

 

Description

Error function (or normal error integral).

Syntax

double erf( double x )

Parameters

x
[input] The argument x of the error function

Return

Returns the value of the error function, erf x

Examples

EX1

void erf_ex1()
{
    double dy,dx=1;
    dy=erf(dx); // results in dy==0.8427008
}

Remark

See Also

inverf

Header to Include

origin.h

Reference