ComplexExtensionsToComplexNotation(Complex, String, Char) Method

Converts the given complex number to a string using complex notation.

Definition

Namespace: Gemstone.Numeric.ComplexExtensions
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.171 -- Release Build+20915b5e5c2b832e94890ea4187a61c474a2582a
public static string ToComplexNotation(
	this Complex complex,
	string numericFormat,
	char imaginarySymbol
)

Parameters

complex  Complex
The complex number
numericFormat  String
The format string to use when converting numbers to their string representation
imaginarySymbol  Char
The symbol used for the square root of -1

Return Value

String
A string representation of the complex number.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Complex. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also