Gemstone Numeric Library
Show/Hide TOC

# ComplexExtensionsToComplexNotation(Complex, Char, ComplexNotationOptions) 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.154 -- Release Build+9c55d1e3f6f7e7a168a3c7771afde278e919c61c
C#
View Source Request Example

    public static string ToComplexNotation(
    	this Complex complex,
    	char imaginarySymbol,
    	ComplexNotationOptions options
    )

VB
View Source Request Example

    <ExtensionAttribute>
    Public Shared Function ToComplexNotation (
    	complex As Complex,
    	imaginarySymbol As Char,
    	options As ComplexNotationOptions
    ) As String

C++
View Source Request Example

    public:
    [ExtensionAttribute]
    static String^ ToComplexNotation(
    	Complex complex,
    	wchar_t imaginarySymbol,
    	ComplexNotationOptions options
    )

JavaScript
View Source Request Example

    Gemstone.Numeric.ComplexExtensions.ComplexExtensions.ToComplexNotation = function(complex, imaginarySymbol, options);

#### Parameters

complex Complex
  The complex number
imaginarySymbol Char
  The symbol used for the square root of -1
options ComplexNotationOptions
  The options that define various aspects of the notation

#### 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

#### Reference

ComplexExtensions Class
ToComplexNotation Overload
Gemstone.Numeric.ComplexExtensions Namespace