condnb_sincond — Computes the condition number of the sin function.
[c,y] = condnb_sincond ( 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 sin function. The sin function has a large condition number if
[c,y] = condnb_sincond ( 1 ) c = condnb_sincond ( 0 ) // c = 1 // http://bugzilla.scilab.org/show_bug.cgi?id=5738 [c,y] = condnb_sincond ( %pi ) 245850922/78256779 == %pi // XCAS : evalf(sin(245850922/78256779),50) expected = 0.781793661990754354001e-16 condnb_plotcond ( "sin" , linspace(-4,4,1000) );