Name

assert_sqrtcond — Computes the condition number of the square root function.

Calling Sequence

   [c,y] = assert_sqrtcond ( 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 square root function. This function has a good condition number.

<latex> \begin{eqnarray} c(x) = 1/2 \end{eqnarray} </latex>

Examples

[c,y] = assert_sqrtcond ( 2 )

   

Authors

Michael Baudin, DIGITEO, 2010