<< condnb_acoscond Condnb condnb_atancond >>

Condnb >> Condnb > condnb_asincond

condnb_asincond

Computes the condition number of the asin function.

Calling Sequence

[c,y] = condnb_asincond ( 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 asin function. The asin function has a large condition number if

Examples

[c,y] = condnb_asincond ( 0 )         // 1
[c,y] = condnb_asincond ( 0.5 )       // c~1
[c,y] = condnb_asincond ( 1-%eps/2 )  // c~10^7
[c,y] = condnb_asincond ( -1+%eps/2 ) // c~10^7
[c,y] = condnb_asincond ( 1 )         // %inf
[c,y] = condnb_asincond ( -1 )        // %inf

// Vectorized call
condnb_asincond ( [0 0.1 0.2 0.5] )

condnb_plotcond ( condnb_asincond , linspace(-1,1,1000) );

Authors

<< condnb_acoscond Condnb condnb_atancond >>