Converts the specified string to its Complex equivalent.

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

Syntax

C#
public static Complex Parse(
	string s
)

Parameters

s
Type: System..::.String
A string representation of a complex number.

Return Value

Returns new Complex instance that represents the complex number specified by the s parameter.

Exceptions

ExceptionCondition
System..::.FormatExceptionString representation of the complex number is not correctly formatted.

See Also