Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/numeric/math/erfc"

From cppreference.com
< cpp‎ | numeric‎ | math
m (+integral overload)
m (Text replace - "{{cpp|" to "{{c|")
Line 26: Line 26:
 
===Return value===
 
===Return value===
  
The value of the complementary error function of {{tt|arg}}, that is {{cpp|1-std::erf(arg)}}.
+
The value of the complementary error function of {{tt|arg}}, that is {{c|1-std::erf(arg)}}.
  
 
===See also===
 
===See also===

Revision as of 20:22, 19 April 2012

Template:cpp/numeric/math/sidebar Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <cmath>
</td>

<td></td> <td></td> </tr> <tr class="t-dcl ">

<td >
float       erfc( float arg );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">

<td >
double      erfc( double arg );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">

<td >
long double erfc( long double arg );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">

<td >
double      erfc( Integral arg );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Computes the complementary error function of arg.

Contents

Parameters

arg - floating point value

Return value

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

See also

Template:cpp/numeric/math/dcl list erf

External links

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