You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clMatrix Structure > clMatrix Methods > CartToPolar Method > clMatrix.CartToPolar Method (TOpenCLMtxVec, TOpenCLMtxVec, int, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clMatrix.CartToPolar Method (TOpenCLMtxVec, TOpenCLMtxVec, int, int, int, int)

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

Syntax
C#
Visual Basic
public void CartToPolar(TOpenCLMtxVec AmpltVec, TOpenCLMtxVec PhaseVec, int AmpltIndex, int PhaseIndex, int Index, int Len);

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 array borders are overrun or underrun.

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