erf

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

Calculate the error function.

Parameters

x (scalar or array) –

Returns

val – The error function of the input.

Return type

scalar or array

See also

gamma

Examples

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