You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TMtxVec Class > public > ArcTan2 Method > TMtxVec.ArcTan2 Method (TMtxVec, TMtxVec, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVec.ArcTan2 Method (TMtxVec, TMtxVec, integer, integer, integer, integer)

Calculate the inverse tangens of Y/X.

Pascal
function ArcTan2(const Y: TMtxVec; const X: TMtxVec; YIndex: integer; XIndex: integer; Index: integer; Len: integer): TMtxVec; overload;

Calculation uses Y elements [YIndex]..[YIndex+Len-1], X elements [XIndex]..[XIndex+Len-1] and stores the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!