Dew MtxVec NET
TMtxVec.Cosh Methods
Summary
Hyperbolic cosine.

Class
TMtxVec

Declaration
Function Cosh(X: TMtxVec; XIndex, Index, Len: integer): TMtxVec;

Description
Calculate the hyperbolic cosine 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 Cosh: TMtxVec;

Description
Calculate the hyperbolic cosine of all caling object elements in-place.
 See Also 
ArcCosh 
SinhCosh 

Example 1

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


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

Description
Calculate the hyperbolic cosine for calling object elements [Index]..[Index+Len-1] in-place. An exception is raised if array borders are overrun.
Declaration
Function Cosh(X: TMtxVec): TMtxVec;

Description
Calculate the hyperbolic cosine for all X object elements and store the results in the calling object. Size and
Complex properties of calling object are adjusted automatically.

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