Summary
The inverse cosine.
Class
TMtxVec
Declaration
Function ArcCos(X: TMtxVec): TMtxVec;
Description
Calculate the inverse cosine of all X object elements and store the results in the calling object. Size and
Complex properties of calling object are adjusted automatically.
Declaration
Function ArcCos(Index, Len: integer): TMtxVec;
Description
Calculate the inverse cosine of calling object elements [Index]...[Index+Len-1] in-place. An exception is raised if array borders are overrun.
Declaration
Function ArcCos: TMtxVec;
Description
Calculate the inverse cosine of all calling object elements in-place. Values must be between -1 and 1. The return values will be in the range [0,
p], in radians.
Example 1
var a: TVec;
begin
CreateIt(a);
a.SetIt(True,[1,-0.5,0.11,0.9]);
a.ArcCos;
FreeIt(a);
end;
Declaration
Function ArcCos(X: TMtxVec; XIndex, Index, Len: integer): TMtxVec;
Description
Calculate the inverse cosine 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.
| Copyright 2008 Dew Research |
http://www.dewresearch.com