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 DoubleComplex FromPolar(
	double r,
	double theta
)
Visual Basic (Declaration)
Public Shared Function FromPolar ( _
	r As Double, _
	theta As Double _
) As DoubleComplex
Visual C++
public:
static DoubleComplex FromPolar(
	double r, 
	double theta
)

Parameters

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

Return Value

A new DoubleComplex instance created from the supplied polar coordinates.

See Also