s15aef

s15aef © Numerical Algorithms Group, 2002.

Purpose

S15AEF Error function erf x

Synopsis

[fun_value,ifail] = s15aef(x<,ifail>)

Description

 
 Evaluates the error function,
 
                      x   2
                 2    / -t     
      erf x =  ------ |e   dt.
                 ____ /      
               \/(pi) 0      
 

Parameters

s15aef

Required Input Arguments:

x                                     real

Optional Input Arguments:                       <Default>

ifail                                 integer  -1

Output Arguments:

ifail                                 integer