The Exponential Complementary Error Function.

You're viewing an older version of this page (#160). View the current version.

View versions (1)

Interface

#include <codecogs/maths/special/errorfnc_exp.h>

using namespace Maths::Special;

This is related to the Complementary Error Function and Error Function by:

erfc_{exp}(x) = e^{x^2} erfc(x) = e^{x^2} ( 1 - erf(x) )
(1)

Graphically it has the following form: \graph x=-2.9:2.9

Example:

#include <codecogs/maths/special/errorfnc_exp.h>
#include <stdio.h>
using namespace Maths::Special;
int main()
{
  double x = 0.5;
  printf("\n errorFnC_exp(%f) = %f", x, errorFnC_exp(x));
  return getchar();
}

Output:

errorFnC_exp(0.500000) = 0.615690

Parameters

x
the value at which to evaluate the function
GPL Licence — free for non commercial use. See Licence details.

Interactive Calculator

x
Result