You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLValue Class > TOpenCLValue Methods > TOpenCLValue.CartToPolar Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLValue.CartToPolar Method

Converts value from cartesian to polar coordinate form.

Syntax
C#
Visual Basic
public void CartToPolar(TOpenCLValue AmpltVec, TOpenCLValue PhaseVec);

Converts value from cartesian to polar coordinate form, storing the magnitude (radius) component in the AmpltVec and the phase (angle) in the PhaseVec. FloatPrecision and TOpenCLBase.ComplexComplexproperties of AmpltVec and PhaseVec are set automatically.

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