erf


Description:

public double erf (double x0)

Returns the error function of x0.

Note:

Remember to link the math library: valac -X -lm ...

Defined as erf(x) = 2/sqrt(pi)* integral from 0 to x0 of exp(-t*t) dt.

Parameters:

x0

A numeric value.


Namespace: GLib.Math
Package: glib-2.0