Dew MtxVec NET
TMtxVec.Coth Methods
Summary
Hyperbolic cotangens.

Class
TMtxVec

Declaration
Function Coth(X: TMtxVec): TMtxVec;

Description
Calculate the hyperbolic cotangens for all X object elements and store the results in the calling object. Size and Complex properties of calling object are adjusted automatically.
Declaration
Function Coth(X: TMtxVec; XIndex, Index, Len: integer): TMtxVec;

Description
Calculate the hyperbolic cotangens for X object elements [XIndex]..[XIndex+Len-1]. The results are stored in calling object elements [Index]..[Index+Len-1]. Size and Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun.
Declaration
Function Coth: TMtxVec;

Description
Calculate the hyperbolic cotangens of all caling object elements in-place.
 See Also 
ArcTanh 
Coth 

Example 1

var a: TVec; begin CreateIt(a); try a.SetIt(False,[1,1.5,2,0.3]); a.Coth; finally FreeIt(a); end; end;


Declaration
Function Coth(Index, Len: integer): TMtxVec;

Description
Calculate the hyperbolic cotangens for calling object elements [Index]...[Index+Len-1] in-place. An exception is raised if array borders are overrun.

Copyright 2008 Dew Research
http://www.dewresearch.com