Computes the condition number of the acos function.
[c,y] = condnb_acoscond ( x )
a n-by-m matrix of doubles
a n-by-m matrix of doubles, the condition number
a n-by-m, matrix of doubles, the function values
Computes the condition number of the acos function. The acos function has a large condition number if
[c,y] = condnb_acoscond ( 0.5 ) // c~1 [c,y] = condnb_acoscond ( 1-%eps/2 ) // c~10^7 [c,y] = condnb_acoscond ( -1+%eps/2 ) // c~10^7 condnb_acoscond ( -1 ) // %inf condnb_acoscond ( 1 ) // %inf condnb_acoscond ( 0 ) // 0 condnb_plotcond ( condnb_acoscond , linspace(-1,1,1000) ); | ![]() | ![]() |