You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > CartToPolar Method > Vector.CartToPolar Method (TMtxVec, TMtxVec, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.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(AmpltVec: TMtxVec; 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 ConditionCheck is 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!