Click or drag to resize

ComplexFromPolarCoordinates Method

Creates a complex number from a point's polar coordinates.

Namespace:  FinMath
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static Complex FromPolarCoordinates(
	double magnitude,
	double phase
)

Parameters

magnitude
Type: SystemDouble
The magnitude, which is the distance from the origin (the intersection of the x-axis and the y-axis) to the number.
phase
Type: SystemDouble
The phase, which is the angle from the line to the horizontal axis, measured in radians.

Return Value

Type: Complex
A complex number.
See Also