Returns a complex number in Cartesian form from the supplied polar coordinates.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static FloatComplex FromPolar(
	float r,
	float theta
)
Visual Basic (Declaration)
Public Shared Function FromPolar ( _
	r As Single, _
	theta As Single _
) As FloatComplex
Visual C++
public:
static FloatComplex FromPolar(
	float r, 
	float theta
)

Parameters

r
Type: System..::.Single
The magnitude.
theta
Type: System..::.Single
The angle.

Return Value

A new FloatComplex instance created from the supplied polar coordinates.

See Also