erf

sherpa.utils.erf(x)[source] [edit on github]

Calculate the error function.

Parameters:
xscalar or array
Returns:
valscalar or array

The error function of the input.

See also

gamma

Examples

>>> erf(0)
0.0
>>> erf([1.0, 2.3])
array([ 0.84270079,  0.99885682])