<< condnb_sumcond Condnb

Condnb >> Condnb > condnb_tancond

condnb_tancond

Computes the condition number of the tan function.

Calling Sequence

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

Examples

[c,y] = condnb_tancond ( 1 )
[c,y] = condnb_tancond ( 0 )     // 1
[c,y] = condnb_tancond ( %pi/2 )
[c,y] = condnb_tancond ( %pi )

condnb_plotcond ( condnb_tancond , linspace(-4,4,1000) );

Authors

<< condnb_sumcond Condnb