Name

condnb_erfcond — Computes the condition number of the erf function.

Calling Sequence

   [c,y] = condnb_erfcond ( x )
   
   

Parameters

x :

a n-by-m matrix of doubles

c :

a n-by-m matrix of doubles, the condition number

y :

a n-by-m, matrix of doubles, the function values

Description

Computes the condition number of the erf function. The erf function is always well conditionned, since its condition number is never greater than 1.

where

Examples

[c,y] = condnb_erfcond ( 1 )
[c,y] = condnb_erfcond ( 1.e2 )
[c,y] = condnb_erfcond ( 0 )

condnb_plotcond ( "erf" , linspace(-6,6,1000) );

   

Authors

Michael Baudin, DIGITEO, 2010