Converts from a double-precision real number to a complex number.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static explicit operator Complex (
	double value
)

Parameters

value
Type: System..::.Double
Double-precision real number to convert to complex number.

Return Value

Returns new Complex instance containing complex number with real part initialized to the specified value.

See Also