#include <lcmath.h> double erf(double x);
erf
computes the error function of its argument x
. The value
returned by erf
is defined by this equation:
erf
returns the error function of its argument.
erf
:
#include <stdio.h> #include <lcmath.h> #define SVECTOR .7854 main() { double erfv; erfv = erf(SVECTOR); printf("erf(%f) = %fn", SVECTOR, erfv); }
erfc
, _matherr
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.