std::erfc

From Cppreference

Jump to: navigation, search
Defined in header <cmath>

float       erfc( float arg );
(C++11 feature)
double      erfc( double arg );
(C++11 feature)
long double erfc( long double arg );
(C++11 feature)

Computes the complementary error function of arg.

Contents

[edit] Parameters

arg - floating point value

[edit] Return value

The value of the complementary error function of arg, that is 1-std::erf(arg).

[edit] See also

erf (C++11)
error function
(function)

[edit] External links

Weisstein, Eric W. "Erfc." From MathWorld--A Wolfram Web Resource.