Name

condnb_atancond — Computes the condition number of the atan function.

Calling Sequence

   [c,y] = condnb_atancond ( 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 atan function. The atan function is well conditionned: it always has a condition number lower than 1.

Examples

[c,y] = condnb_atancond ( 0 )        // c=1
[c,y] = condnb_atancond ( 0.5 )      // c~1

condnb_plotcond ( "atan" , linspace(-10,10,1000) );

   

Authors

Michael Baudin, DIGITEO, 2010