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

Convert calling object elements [Index] to [Index+Len-1] from cartesian to polar form.

Pascal
procedure CartToPolar(const AmpltVec: TMtxVec; const PhaseVec: TMtxVec; AmpltIndex: integer; PhaseIndex: integer; Index: integer; Len: integer); overload;

Store the results in AmpltVec (radius values) and PhaseVec(phase values). Size and Complex properties of the calling vector must be set explicitly. An exception is raised if TMtxVecBase.ConditionCheckConditionCheckis True and array borders are overrun or underrun.

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