Summary
Inverse cotangens.
Class
TMtxVec
Declaration
Function ArcCot(Index, Len: integer): TMtxVec;
Description
Calculate the inverse cotangens of calling object elements [Index]...[Index+Len-1] in-place. An exception is raised if array borders are overrun.
Declaration
Function ArcCot: TMtxVec;
Description
Calculate the inverse cotangens for all calling object elements in-place. The return values are expressed in radians.
Example 1
var A,B: TMtx;
begin
CreateIt(A,B);
A.SetIt(2,2,True,[1,0, 2,0
2,0 4,1]); // 2x2, complex matrix
B.ArcCot(A);
FreeIt(A,B);
end;
Declaration
Function ArcCot(X: TMtxVec; XIndex, Index, Len: integer): TMtxVec;
Description
Calculate the inverse cotangens of 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 ArcCot(X: TMtxVec): TMtxVec;
Description
Calculate the inverse cotangens of 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